Documentation
¶
Index ¶
- type DeviceClassificationClientInterface
- type DeviceClassificationClientInterface_Expecter
- type DeviceClassificationClientInterface_RequestManufacturerDetails_Call
- func (_c *DeviceClassificationClientInterface_RequestManufacturerDetails_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
- func (_c *DeviceClassificationClientInterface_RequestManufacturerDetails_Call) Run(run func()) *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
- func (_c *DeviceClassificationClientInterface_RequestManufacturerDetails_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
- type DeviceClassificationCommonInterface
- type DeviceClassificationCommonInterface_Expecter
- type DeviceClassificationCommonInterface_GetManufacturerDetails_Call
- func (_c *DeviceClassificationCommonInterface_GetManufacturerDetails_Call) Return(...) *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
- func (_c *DeviceClassificationCommonInterface_GetManufacturerDetails_Call) Run(run func()) *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
- func (_c *DeviceClassificationCommonInterface_GetManufacturerDetails_Call) RunAndReturn(run func() (*model.DeviceClassificationManufacturerDataType, error)) *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
- type DeviceClassificationServerInterface
- type DeviceClassificationServerInterface_Expecter
- type DeviceConfigurationClientInterface
- func (_mock *DeviceConfigurationClientInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *DeviceConfigurationClientInterface) EXPECT() *DeviceConfigurationClientInterface_Expecter
- func (_mock *DeviceConfigurationClientInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationClientInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationClientInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
- func (_mock *DeviceConfigurationClientInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
- func (_mock *DeviceConfigurationClientInterface) RequestKeyValueDescriptions(selector *model.DeviceConfigurationKeyValueDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *DeviceConfigurationClientInterface) RequestKeyValues(selector *model.DeviceConfigurationKeyValueListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *DeviceConfigurationClientInterface) WriteKeyValues(data []model.DeviceConfigurationKeyValueDataType) (*model.MsgCounterType, error)
- type DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
- type DeviceConfigurationClientInterface_Expecter
- func (_e *DeviceConfigurationClientInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) RequestKeyValueDescriptions(selector interface{}, elements interface{}) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) RequestKeyValues(selector interface{}, elements interface{}) *DeviceConfigurationClientInterface_RequestKeyValues_Call
- func (_e *DeviceConfigurationClientInterface_Expecter) WriteKeyValues(data interface{}) *DeviceConfigurationClientInterface_WriteKeyValues_Call
- type DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
- type DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
- type DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) Return(...) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
- type DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) Return(...) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
- type DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Run(...) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
- type DeviceConfigurationClientInterface_RequestKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_RequestKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValues_Call) Run(...) *DeviceConfigurationClientInterface_RequestKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_RequestKeyValues_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_RequestKeyValues_Call
- type DeviceConfigurationClientInterface_WriteKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_WriteKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) Run(run func(data []model.DeviceConfigurationKeyValueDataType)) *DeviceConfigurationClientInterface_WriteKeyValues_Call
- func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) RunAndReturn(...) *DeviceConfigurationClientInterface_WriteKeyValues_Call
- type DeviceConfigurationCommonInterface
- func (_mock *DeviceConfigurationCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *DeviceConfigurationCommonInterface) EXPECT() *DeviceConfigurationCommonInterface_Expecter
- func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
- func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
- type DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
- type DeviceConfigurationCommonInterface_Expecter
- func (_e *DeviceConfigurationCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
- func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
- func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
- type DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) RunAndReturn(...) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
- type DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(...) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
- type DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) Return(...) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn(...) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
- type DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) Return(...) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(...) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
- type DeviceConfigurationServerInterface
- func (_mock *DeviceConfigurationServerInterface) AddKeyValueDescription(description model.DeviceConfigurationKeyValueDescriptionDataType) *model.DeviceConfigurationKeyIdType
- func (_mock *DeviceConfigurationServerInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *DeviceConfigurationServerInterface) EXPECT() *DeviceConfigurationServerInterface_Expecter
- func (_mock *DeviceConfigurationServerInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationServerInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
- func (_mock *DeviceConfigurationServerInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
- func (_mock *DeviceConfigurationServerInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
- func (_mock *DeviceConfigurationServerInterface) UpdateKeyValueDataForFilter(data model.DeviceConfigurationKeyValueDataType, ...) error
- func (_mock *DeviceConfigurationServerInterface) UpdateKeyValueDataForKeyId(data model.DeviceConfigurationKeyValueDataType, ...) error
- type DeviceConfigurationServerInterface_AddKeyValueDescription_Call
- func (_c *DeviceConfigurationServerInterface_AddKeyValueDescription_Call) Return(deviceConfigurationKeyIdType *model.DeviceConfigurationKeyIdType) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
- func (_c *DeviceConfigurationServerInterface_AddKeyValueDescription_Call) Run(run func(description model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
- func (_c *DeviceConfigurationServerInterface_AddKeyValueDescription_Call) RunAndReturn(...) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
- type DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
- type DeviceConfigurationServerInterface_Expecter
- func (_e *DeviceConfigurationServerInterface_Expecter) AddKeyValueDescription(description interface{}) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForFilter(data interface{}, deleteElements interface{}, filter interface{}) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
- func (_e *DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForKeyId(data interface{}, deleteElements interface{}, keyId interface{}) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
- type DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) RunAndReturn(...) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
- type DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, ...) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(...) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
- type DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) Return(...) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) Run(run func(keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn(...) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
- type DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) Return(...) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) Run(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
- func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(...) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
- type DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) Return(err error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) Run(run func(data model.DeviceConfigurationKeyValueDataType, ...)) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) RunAndReturn(run func(data model.DeviceConfigurationKeyValueDataType, ...) error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
- type DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) Return(err error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) Run(run func(data model.DeviceConfigurationKeyValueDataType, ...)) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
- func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) RunAndReturn(run func(data model.DeviceConfigurationKeyValueDataType, ...) error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
- type DeviceDiagnosisClientInterface
- type DeviceDiagnosisClientInterface_Expecter
- type DeviceDiagnosisClientInterface_RequestHeartbeat_Call
- func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
- func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Run(run func()) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
- func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
- type DeviceDiagnosisClientInterface_RequestState_Call
- func (_c *DeviceDiagnosisClientInterface_RequestState_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceDiagnosisClientInterface_RequestState_Call
- func (_c *DeviceDiagnosisClientInterface_RequestState_Call) Run(run func()) *DeviceDiagnosisClientInterface_RequestState_Call
- func (_c *DeviceDiagnosisClientInterface_RequestState_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceDiagnosisClientInterface_RequestState_Call
- type DeviceDiagnosisCommonInterface
- type DeviceDiagnosisCommonInterface_Expecter
- type DeviceDiagnosisCommonInterface_GetState_Call
- func (_c *DeviceDiagnosisCommonInterface_GetState_Call) Return(deviceDiagnosisStateDataType *model.DeviceDiagnosisStateDataType, err error) *DeviceDiagnosisCommonInterface_GetState_Call
- func (_c *DeviceDiagnosisCommonInterface_GetState_Call) Run(run func()) *DeviceDiagnosisCommonInterface_GetState_Call
- func (_c *DeviceDiagnosisCommonInterface_GetState_Call) RunAndReturn(run func() (*model.DeviceDiagnosisStateDataType, error)) *DeviceDiagnosisCommonInterface_GetState_Call
- type DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
- func (_c *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
- func (_c *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) Run(run func(duration time.Duration)) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
- func (_c *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(duration time.Duration) bool) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
- type DeviceDiagnosisServerInterface
- func (_m *DeviceDiagnosisServerInterface) EXPECT() *DeviceDiagnosisServerInterface_Expecter
- func (_mock *DeviceDiagnosisServerInterface) SetLocalOperatingState(operatingState model.DeviceDiagnosisOperatingStateType)
- func (_mock *DeviceDiagnosisServerInterface) SetLocalState(statetate *model.DeviceDiagnosisStateDataType)
- type DeviceDiagnosisServerInterface_Expecter
- func (_e *DeviceDiagnosisServerInterface_Expecter) SetLocalOperatingState(operatingState interface{}) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
- func (_e *DeviceDiagnosisServerInterface_Expecter) SetLocalState(statetate interface{}) *DeviceDiagnosisServerInterface_SetLocalState_Call
- type DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) Return() *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) Run(run func(operatingState model.DeviceDiagnosisOperatingStateType)) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) RunAndReturn(run func(operatingState model.DeviceDiagnosisOperatingStateType)) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
- type DeviceDiagnosisServerInterface_SetLocalState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalState_Call) Return() *DeviceDiagnosisServerInterface_SetLocalState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalState_Call) Run(run func(statetate *model.DeviceDiagnosisStateDataType)) *DeviceDiagnosisServerInterface_SetLocalState_Call
- func (_c *DeviceDiagnosisServerInterface_SetLocalState_Call) RunAndReturn(run func(statetate *model.DeviceDiagnosisStateDataType)) *DeviceDiagnosisServerInterface_SetLocalState_Call
- type ElectricalConnectionClientInterface
- func (_m *ElectricalConnectionClientInterface) EXPECT() *ElectricalConnectionClientInterface_Expecter
- func (_mock *ElectricalConnectionClientInterface) RequestCharacteristics(selector *model.ElectricalConnectionCharacteristicListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *ElectricalConnectionClientInterface) RequestDescriptions(selector *model.ElectricalConnectionDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *ElectricalConnectionClientInterface) RequestParameterDescriptions(selector *model.ElectricalConnectionParameterDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *ElectricalConnectionClientInterface) RequestPermittedValueSets(selector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, ...) (*model.MsgCounterType, error)
- type ElectricalConnectionClientInterface_Expecter
- func (_e *ElectricalConnectionClientInterface_Expecter) RequestCharacteristics(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
- func (_e *ElectricalConnectionClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestDescriptions_Call
- func (_e *ElectricalConnectionClientInterface_Expecter) RequestParameterDescriptions(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
- func (_e *ElectricalConnectionClientInterface_Expecter) RequestPermittedValueSets(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
- type ElectricalConnectionClientInterface_RequestCharacteristics_Call
- func (_c *ElectricalConnectionClientInterface_RequestCharacteristics_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
- func (_c *ElectricalConnectionClientInterface_RequestCharacteristics_Call) Run(...) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
- func (_c *ElectricalConnectionClientInterface_RequestCharacteristics_Call) RunAndReturn(...) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
- type ElectricalConnectionClientInterface_RequestDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestDescriptions_Call) Run(...) *ElectricalConnectionClientInterface_RequestDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestDescriptions_Call) RunAndReturn(...) *ElectricalConnectionClientInterface_RequestDescriptions_Call
- type ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Run(...) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
- func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) RunAndReturn(...) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
- type ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
- func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
- func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Run(...) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
- func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) RunAndReturn(...) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
- type ElectricalConnectionCommonInterface
- func (_mock *ElectricalConnectionCommonInterface) AdjustValueToBeWithinPermittedValuesForParameterId(value float64, parameterId model.ElectricalConnectionParameterIdType) float64
- func (_mock *ElectricalConnectionCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *ElectricalConnectionCommonInterface) EXPECT() *ElectricalConnectionCommonInterface_Expecter
- func (_mock *ElectricalConnectionCommonInterface) GetCharacteristicsForFilter(filter model.ElectricalConnectionCharacteristicDataType) ([]model.ElectricalConnectionCharacteristicDataType, error)
- func (_mock *ElectricalConnectionCommonInterface) GetDescriptionForParameterDescriptionFilter(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)
- func (_mock *ElectricalConnectionCommonInterface) GetDescriptionsForFilter(filter model.ElectricalConnectionDescriptionDataType) ([]model.ElectricalConnectionDescriptionDataType, error)
- func (_mock *ElectricalConnectionCommonInterface) GetParameterDescriptionsForFilter(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)
- func (_mock *ElectricalConnectionCommonInterface) GetPermittedValueDataForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)
- func (_mock *ElectricalConnectionCommonInterface) GetPermittedValueSetForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) ([]model.ElectricalConnectionPermittedValueSetDataType, error)
- func (_mock *ElectricalConnectionCommonInterface) GetPhaseCurrentLimits(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, ...)
- type ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
- func (_c *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Return(f float64) ...
- func (_c *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Run(run func(value float64, parameterId model.ElectricalConnectionParameterIdType)) ...
- func (_c *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn(...) ...
- type ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
- type ElectricalConnectionCommonInterface_Expecter
- func (_e *ElectricalConnectionCommonInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId(value interface{}, parameterId interface{}) ...
- func (_e *ElectricalConnectionCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetCharacteristicsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetDescriptionForParameterDescriptionFilter(filter interface{}) ...
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetParameterDescriptionsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetPermittedValueDataForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetPermittedValueSetForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
- func (_e *ElectricalConnectionCommonInterface_Expecter) GetPhaseCurrentLimits(measDesc interface{}) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
- type ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) Return(...) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) Run(run func(filter model.ElectricalConnectionCharacteristicDataType)) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
- type ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) Return(...) ...
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) Run(run func(filter model.ElectricalConnectionParameterDescriptionDataType)) ...
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn(...) ...
- type ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) Return(...) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.ElectricalConnectionDescriptionDataType)) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
- type ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) Return(...) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) Run(run func(filter model.ElectricalConnectionParameterDescriptionDataType)) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
- type ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) Return(f float64, f1 float64, f2 float64, err error) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) Run(run func(filter model.ElectricalConnectionPermittedValueSetDataType)) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
- type ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) Return(...) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) Run(run func(filter model.ElectricalConnectionPermittedValueSetDataType)) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
- type ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Return(resultMin map[model.ElectricalConnectionPhaseNameType]float64, ...) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Run(run func(measDesc []model.MeasurementDescriptionDataType)) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) RunAndReturn(...) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
- type ElectricalConnectionServerInterface
- func (_mock *ElectricalConnectionServerInterface) AddCharacteristic(data model.ElectricalConnectionCharacteristicDataType) (*model.ElectricalConnectionCharacteristicIdType, error)
- func (_mock *ElectricalConnectionServerInterface) AddDescription(description model.ElectricalConnectionDescriptionDataType) error
- func (_mock *ElectricalConnectionServerInterface) AddParameterDescription(description model.ElectricalConnectionParameterDescriptionDataType) *model.ElectricalConnectionParameterIdType
- func (_mock *ElectricalConnectionServerInterface) AdjustValueToBeWithinPermittedValuesForParameterId(value float64, parameterId model.ElectricalConnectionParameterIdType) float64
- func (_mock *ElectricalConnectionServerInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *ElectricalConnectionServerInterface) EXPECT() *ElectricalConnectionServerInterface_Expecter
- func (_mock *ElectricalConnectionServerInterface) GetCharacteristicsForFilter(filter model.ElectricalConnectionCharacteristicDataType) ([]model.ElectricalConnectionCharacteristicDataType, error)
- func (_mock *ElectricalConnectionServerInterface) GetDescriptionForParameterDescriptionFilter(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)
- func (_mock *ElectricalConnectionServerInterface) GetDescriptionsForFilter(filter model.ElectricalConnectionDescriptionDataType) ([]model.ElectricalConnectionDescriptionDataType, error)
- func (_mock *ElectricalConnectionServerInterface) GetOrAddIdForDescription(electricalConnectionDescription model.ElectricalConnectionDescriptionDataType) (*model.ElectricalConnectionIdType, error)
- func (_mock *ElectricalConnectionServerInterface) GetParameterDescriptionsForFilter(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)
- func (_mock *ElectricalConnectionServerInterface) GetPermittedValueDataForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)
- func (_mock *ElectricalConnectionServerInterface) GetPermittedValueSetForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) ([]model.ElectricalConnectionPermittedValueSetDataType, error)
- func (_mock *ElectricalConnectionServerInterface) GetPhaseCurrentLimits(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, ...)
- func (_mock *ElectricalConnectionServerInterface) UpdateCharacteristic(data model.ElectricalConnectionCharacteristicDataType, ...) error
- func (_mock *ElectricalConnectionServerInterface) UpdatePermittedValueSetForFilters(data []api.ElectricalConnectionPermittedValueSetForFilter, ...) error
- func (_mock *ElectricalConnectionServerInterface) UpdatePermittedValueSetForIds(data []api.ElectricalConnectionPermittedValueSetForID) error
- type ElectricalConnectionServerInterface_AddCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_AddCharacteristic_Call) Return(...) *ElectricalConnectionServerInterface_AddCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_AddCharacteristic_Call) Run(run func(data model.ElectricalConnectionCharacteristicDataType)) *ElectricalConnectionServerInterface_AddCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_AddCharacteristic_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_AddCharacteristic_Call
- type ElectricalConnectionServerInterface_AddDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddDescription_Call) Return(err error) *ElectricalConnectionServerInterface_AddDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddDescription_Call) Run(run func(description model.ElectricalConnectionDescriptionDataType)) *ElectricalConnectionServerInterface_AddDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddDescription_Call) RunAndReturn(run func(description model.ElectricalConnectionDescriptionDataType) error) *ElectricalConnectionServerInterface_AddDescription_Call
- type ElectricalConnectionServerInterface_AddParameterDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddParameterDescription_Call) Return(electricalConnectionParameterIdType *model.ElectricalConnectionParameterIdType) *ElectricalConnectionServerInterface_AddParameterDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddParameterDescription_Call) Run(run func(description model.ElectricalConnectionParameterDescriptionDataType)) *ElectricalConnectionServerInterface_AddParameterDescription_Call
- func (_c *ElectricalConnectionServerInterface_AddParameterDescription_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_AddParameterDescription_Call
- type ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
- func (_c *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Return(f float64) ...
- func (_c *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Run(run func(value float64, parameterId model.ElectricalConnectionParameterIdType)) ...
- func (_c *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn(...) ...
- type ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
- type ElectricalConnectionServerInterface_Expecter
- func (_e *ElectricalConnectionServerInterface_Expecter) AddCharacteristic(data interface{}) *ElectricalConnectionServerInterface_AddCharacteristic_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) AddDescription(description interface{}) *ElectricalConnectionServerInterface_AddDescription_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) AddParameterDescription(description interface{}) *ElectricalConnectionServerInterface_AddParameterDescription_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId(value interface{}, parameterId interface{}) ...
- func (_e *ElectricalConnectionServerInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetCharacteristicsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetDescriptionForParameterDescriptionFilter(filter interface{}) ...
- func (_e *ElectricalConnectionServerInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetOrAddIdForDescription(electricalConnectionDescription interface{}) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetParameterDescriptionsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetPermittedValueDataForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetPermittedValueSetForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) GetPhaseCurrentLimits(measDesc interface{}) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) UpdateCharacteristic(data interface{}, deleteElements interface{}) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForFilters(data interface{}, deleteSelector interface{}, deleteElements interface{}) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
- func (_e *ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForIds(data interface{}) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
- type ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) Return(...) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) Run(run func(filter model.ElectricalConnectionCharacteristicDataType)) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
- type ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) Return(...) ...
- func (_c *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) Run(run func(filter model.ElectricalConnectionParameterDescriptionDataType)) ...
- func (_c *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn(...) ...
- type ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) Return(...) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.ElectricalConnectionDescriptionDataType)) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
- type ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
- func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Return(electricalConnectionIdType *model.ElectricalConnectionIdType, err error) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
- func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Run(...) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
- func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
- type ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) Return(...) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) Run(run func(filter model.ElectricalConnectionParameterDescriptionDataType)) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
- type ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) Return(f float64, f1 float64, f2 float64, err error) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) Run(run func(filter model.ElectricalConnectionPermittedValueSetDataType)) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
- type ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) Return(...) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) Run(run func(filter model.ElectricalConnectionPermittedValueSetDataType)) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
- func (_c *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
- type ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Return(resultMin map[model.ElectricalConnectionPhaseNameType]float64, ...) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Run(run func(measDesc []model.MeasurementDescriptionDataType)) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
- func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) RunAndReturn(...) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
- type ElectricalConnectionServerInterface_UpdateCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_UpdateCharacteristic_Call) Return(err error) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_UpdateCharacteristic_Call) Run(run func(data model.ElectricalConnectionCharacteristicDataType, ...)) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
- func (_c *ElectricalConnectionServerInterface_UpdateCharacteristic_Call) RunAndReturn(run func(data model.ElectricalConnectionCharacteristicDataType, ...) error) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
- type ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) Return(err error) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) Run(run func(data []api.ElectricalConnectionPermittedValueSetForFilter, ...)) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) RunAndReturn(run func(data []api.ElectricalConnectionPermittedValueSetForFilter, ...) error) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
- type ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) Return(err error) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) Run(run func(data []api.ElectricalConnectionPermittedValueSetForID)) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
- func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) RunAndReturn(run func(data []api.ElectricalConnectionPermittedValueSetForID) error) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
- type EntityEventCallback
- type EntityEventCallback_Execute_Call
- func (_c *EntityEventCallback_Execute_Call) Return() *EntityEventCallback_Execute_Call
- func (_c *EntityEventCallback_Execute_Call) Run(...) *EntityEventCallback_Execute_Call
- func (_c *EntityEventCallback_Execute_Call) RunAndReturn(run func(string, api.DeviceRemoteInterface, api.EntityRemoteInterface, ...)) *EntityEventCallback_Execute_Call
- type EntityEventCallback_Expecter
- type FeatureClientInterface
- func (_mock *FeatureClientInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, ...) error
- func (_mock *FeatureClientInterface) AddResultCallback(function func(msg api.ResponseMessage))
- func (_mock *FeatureClientInterface) Bind() (*model.MsgCounterType, error)
- func (_m *FeatureClientInterface) EXPECT() *FeatureClientInterface_Expecter
- func (_mock *FeatureClientInterface) HasBinding() bool
- func (_mock *FeatureClientInterface) HasSubscription() bool
- func (_mock *FeatureClientInterface) Subscribe() (*model.MsgCounterType, error)
- type FeatureClientInterface_AddResponseCallback_Call
- func (_c *FeatureClientInterface_AddResponseCallback_Call) Return(err error) *FeatureClientInterface_AddResponseCallback_Call
- func (_c *FeatureClientInterface_AddResponseCallback_Call) Run(run func(msgCounterReference model.MsgCounterType, ...)) *FeatureClientInterface_AddResponseCallback_Call
- func (_c *FeatureClientInterface_AddResponseCallback_Call) RunAndReturn(run func(msgCounterReference model.MsgCounterType, ...) error) *FeatureClientInterface_AddResponseCallback_Call
- type FeatureClientInterface_AddResultCallback_Call
- func (_c *FeatureClientInterface_AddResultCallback_Call) Return() *FeatureClientInterface_AddResultCallback_Call
- func (_c *FeatureClientInterface_AddResultCallback_Call) Run(run func(function func(msg api.ResponseMessage))) *FeatureClientInterface_AddResultCallback_Call
- func (_c *FeatureClientInterface_AddResultCallback_Call) RunAndReturn(run func(function func(msg api.ResponseMessage))) *FeatureClientInterface_AddResultCallback_Call
- type FeatureClientInterface_Bind_Call
- func (_c *FeatureClientInterface_Bind_Call) Return(msgCounterType *model.MsgCounterType, err error) *FeatureClientInterface_Bind_Call
- func (_c *FeatureClientInterface_Bind_Call) Run(run func()) *FeatureClientInterface_Bind_Call
- func (_c *FeatureClientInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureClientInterface_Bind_Call
- type FeatureClientInterface_Expecter
- func (_e *FeatureClientInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureClientInterface_AddResponseCallback_Call
- func (_e *FeatureClientInterface_Expecter) AddResultCallback(function interface{}) *FeatureClientInterface_AddResultCallback_Call
- func (_e *FeatureClientInterface_Expecter) Bind() *FeatureClientInterface_Bind_Call
- func (_e *FeatureClientInterface_Expecter) HasBinding() *FeatureClientInterface_HasBinding_Call
- func (_e *FeatureClientInterface_Expecter) HasSubscription() *FeatureClientInterface_HasSubscription_Call
- func (_e *FeatureClientInterface_Expecter) Subscribe() *FeatureClientInterface_Subscribe_Call
- type FeatureClientInterface_HasBinding_Call
- func (_c *FeatureClientInterface_HasBinding_Call) Return(b bool) *FeatureClientInterface_HasBinding_Call
- func (_c *FeatureClientInterface_HasBinding_Call) Run(run func()) *FeatureClientInterface_HasBinding_Call
- func (_c *FeatureClientInterface_HasBinding_Call) RunAndReturn(run func() bool) *FeatureClientInterface_HasBinding_Call
- type FeatureClientInterface_HasSubscription_Call
- func (_c *FeatureClientInterface_HasSubscription_Call) Return(b bool) *FeatureClientInterface_HasSubscription_Call
- func (_c *FeatureClientInterface_HasSubscription_Call) Run(run func()) *FeatureClientInterface_HasSubscription_Call
- func (_c *FeatureClientInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureClientInterface_HasSubscription_Call
- type FeatureClientInterface_Subscribe_Call
- func (_c *FeatureClientInterface_Subscribe_Call) Return(msgCounterType *model.MsgCounterType, err error) *FeatureClientInterface_Subscribe_Call
- func (_c *FeatureClientInterface_Subscribe_Call) Run(run func()) *FeatureClientInterface_Subscribe_Call
- func (_c *FeatureClientInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureClientInterface_Subscribe_Call
- type FeatureInterface
- func (_m *FeatureInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error
- func (_m *FeatureInterface) AddResultCallback(function func(api.ResponseMessage))
- func (_m *FeatureInterface) Bind() (*model.MsgCounterType, error)
- func (_m *FeatureInterface) EXPECT() *FeatureInterface_Expecter
- func (_m *FeatureInterface) HasBinding() bool
- func (_m *FeatureInterface) HasSubscription() bool
- func (_m *FeatureInterface) Subscribe() (*model.MsgCounterType, error)
- type FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) Return(_a0 error) *FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) Run(...) *FeatureInterface_AddResponseCallback_Call
- func (_c *FeatureInterface_AddResponseCallback_Call) RunAndReturn(run func(model.MsgCounterType, func(api.ResponseMessage)) error) *FeatureInterface_AddResponseCallback_Call
- type FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) Return() *FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) Run(run func(function func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
- func (_c *FeatureInterface_AddResultCallback_Call) RunAndReturn(run func(func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
- type FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) Run(run func()) *FeatureInterface_Bind_Call
- func (_c *FeatureInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Bind_Call
- type FeatureInterface_Expecter
- func (_e *FeatureInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureInterface_AddResponseCallback_Call
- func (_e *FeatureInterface_Expecter) AddResultCallback(function interface{}) *FeatureInterface_AddResultCallback_Call
- func (_e *FeatureInterface_Expecter) Bind() *FeatureInterface_Bind_Call
- func (_e *FeatureInterface_Expecter) HasBinding() *FeatureInterface_HasBinding_Call
- func (_e *FeatureInterface_Expecter) HasSubscription() *FeatureInterface_HasSubscription_Call
- func (_e *FeatureInterface_Expecter) Subscribe() *FeatureInterface_Subscribe_Call
- type FeatureInterface_HasBinding_Call
- type FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) Return(_a0 bool) *FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) Run(run func()) *FeatureInterface_HasSubscription_Call
- func (_c *FeatureInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureInterface_HasSubscription_Call
- type FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) Run(run func()) *FeatureInterface_Subscribe_Call
- func (_c *FeatureInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Subscribe_Call
- type FeatureServerInterface
- type FeatureServerInterface_Expecter
- type IdentificationClientInterface
- type IdentificationClientInterface_Expecter
- type IdentificationClientInterface_RequestValues_Call
- func (_c *IdentificationClientInterface_RequestValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IdentificationClientInterface_RequestValues_Call
- func (_c *IdentificationClientInterface_RequestValues_Call) Run(run func()) *IdentificationClientInterface_RequestValues_Call
- func (_c *IdentificationClientInterface_RequestValues_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IdentificationClientInterface_RequestValues_Call
- type IdentificationCommonInterface
- func (_mock *IdentificationCommonInterface) CheckEventPayloadDataForFilter(payloadData any) bool
- func (_m *IdentificationCommonInterface) EXPECT() *IdentificationCommonInterface_Expecter
- func (_mock *IdentificationCommonInterface) GetDataForFilter(filter model.IdentificationDataType) ([]model.IdentificationDataType, error)
- type IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any)) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any) bool) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
- type IdentificationCommonInterface_Expecter
- func (_e *IdentificationCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_e *IdentificationCommonInterface_Expecter) GetDataForFilter(filter interface{}) *IdentificationCommonInterface_GetDataForFilter_Call
- type IdentificationCommonInterface_GetDataForFilter_Call
- func (_c *IdentificationCommonInterface_GetDataForFilter_Call) Return(identificationDataTypes []model.IdentificationDataType, err error) *IdentificationCommonInterface_GetDataForFilter_Call
- func (_c *IdentificationCommonInterface_GetDataForFilter_Call) Run(run func(filter model.IdentificationDataType)) *IdentificationCommonInterface_GetDataForFilter_Call
- func (_c *IdentificationCommonInterface_GetDataForFilter_Call) RunAndReturn(...) *IdentificationCommonInterface_GetDataForFilter_Call
- type IdentificationServerInterface
- type IdentificationServerInterface_Expecter
- type IncentiveTableClientInterface
- func (_m *IncentiveTableClientInterface) EXPECT() *IncentiveTableClientInterface_Expecter
- func (_mock *IncentiveTableClientInterface) RequestConstraints() (*model.MsgCounterType, error)
- func (_mock *IncentiveTableClientInterface) RequestDescriptions() (*model.MsgCounterType, error)
- func (_mock *IncentiveTableClientInterface) RequestValues() (*model.MsgCounterType, error)
- func (_mock *IncentiveTableClientInterface) WriteDescriptions(data []model.IncentiveTableDescriptionType) (*model.MsgCounterType, error)
- func (_mock *IncentiveTableClientInterface) WriteValues(data []model.IncentiveTableType) (*model.MsgCounterType, error)
- type IncentiveTableClientInterface_Expecter
- func (_e *IncentiveTableClientInterface_Expecter) RequestConstraints() *IncentiveTableClientInterface_RequestConstraints_Call
- func (_e *IncentiveTableClientInterface_Expecter) RequestDescriptions() *IncentiveTableClientInterface_RequestDescriptions_Call
- func (_e *IncentiveTableClientInterface_Expecter) RequestValues() *IncentiveTableClientInterface_RequestValues_Call
- func (_e *IncentiveTableClientInterface_Expecter) WriteDescriptions(data interface{}) *IncentiveTableClientInterface_WriteDescriptions_Call
- func (_e *IncentiveTableClientInterface_Expecter) WriteValues(data interface{}) *IncentiveTableClientInterface_WriteValues_Call
- type IncentiveTableClientInterface_RequestConstraints_Call
- func (_c *IncentiveTableClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestConstraints_Call
- func (_c *IncentiveTableClientInterface_RequestConstraints_Call) Run(run func()) *IncentiveTableClientInterface_RequestConstraints_Call
- func (_c *IncentiveTableClientInterface_RequestConstraints_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestConstraints_Call
- type IncentiveTableClientInterface_RequestDescriptions_Call
- func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestDescriptions_Call
- func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) Run(run func()) *IncentiveTableClientInterface_RequestDescriptions_Call
- func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestDescriptions_Call
- type IncentiveTableClientInterface_RequestValues_Call
- func (_c *IncentiveTableClientInterface_RequestValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestValues_Call
- func (_c *IncentiveTableClientInterface_RequestValues_Call) Run(run func()) *IncentiveTableClientInterface_RequestValues_Call
- func (_c *IncentiveTableClientInterface_RequestValues_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestValues_Call
- type IncentiveTableClientInterface_WriteDescriptions_Call
- func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_WriteDescriptions_Call
- func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) Run(run func(data []model.IncentiveTableDescriptionType)) *IncentiveTableClientInterface_WriteDescriptions_Call
- func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) RunAndReturn(...) *IncentiveTableClientInterface_WriteDescriptions_Call
- type IncentiveTableClientInterface_WriteValues_Call
- func (_c *IncentiveTableClientInterface_WriteValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_WriteValues_Call
- func (_c *IncentiveTableClientInterface_WriteValues_Call) Run(run func(data []model.IncentiveTableType)) *IncentiveTableClientInterface_WriteValues_Call
- func (_c *IncentiveTableClientInterface_WriteValues_Call) RunAndReturn(run func(data []model.IncentiveTableType) (*model.MsgCounterType, error)) *IncentiveTableClientInterface_WriteValues_Call
- type IncentiveTableCommonInterface
- func (_m *IncentiveTableCommonInterface) EXPECT() *IncentiveTableCommonInterface_Expecter
- func (_mock *IncentiveTableCommonInterface) GetConstraints() ([]model.IncentiveTableConstraintsType, error)
- func (_mock *IncentiveTableCommonInterface) GetData() ([]model.IncentiveTableType, error)
- func (_mock *IncentiveTableCommonInterface) GetDescriptionsForFilter(filter model.TariffDescriptionDataType) ([]model.IncentiveTableDescriptionType, error)
- type IncentiveTableCommonInterface_Expecter
- func (_e *IncentiveTableCommonInterface_Expecter) GetConstraints() *IncentiveTableCommonInterface_GetConstraints_Call
- func (_e *IncentiveTableCommonInterface_Expecter) GetData() *IncentiveTableCommonInterface_GetData_Call
- func (_e *IncentiveTableCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
- type IncentiveTableCommonInterface_GetConstraints_Call
- func (_c *IncentiveTableCommonInterface_GetConstraints_Call) Return(incentiveTableConstraintsTypes []model.IncentiveTableConstraintsType, ...) *IncentiveTableCommonInterface_GetConstraints_Call
- func (_c *IncentiveTableCommonInterface_GetConstraints_Call) Run(run func()) *IncentiveTableCommonInterface_GetConstraints_Call
- func (_c *IncentiveTableCommonInterface_GetConstraints_Call) RunAndReturn(run func() ([]model.IncentiveTableConstraintsType, error)) *IncentiveTableCommonInterface_GetConstraints_Call
- type IncentiveTableCommonInterface_GetData_Call
- func (_c *IncentiveTableCommonInterface_GetData_Call) Return(incentiveTableTypes []model.IncentiveTableType, err error) *IncentiveTableCommonInterface_GetData_Call
- func (_c *IncentiveTableCommonInterface_GetData_Call) Run(run func()) *IncentiveTableCommonInterface_GetData_Call
- func (_c *IncentiveTableCommonInterface_GetData_Call) RunAndReturn(run func() ([]model.IncentiveTableType, error)) *IncentiveTableCommonInterface_GetData_Call
- type IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
- func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Return(incentiveTableDescriptionTypes []model.IncentiveTableDescriptionType, ...) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
- func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.TariffDescriptionDataType)) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
- func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(...) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
- type IncentiveTableServerInterface
- type IncentiveTableServerInterface_Expecter
- type LoadControlClientInterface
- func (_m *LoadControlClientInterface) EXPECT() *LoadControlClientInterface_Expecter
- func (_mock *LoadControlClientInterface) RequestLimitConstraints(selector *model.LoadControlLimitConstraintsListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *LoadControlClientInterface) RequestLimitData(selector *model.LoadControlLimitListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *LoadControlClientInterface) RequestLimitDescriptions(selector *model.LoadControlLimitDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *LoadControlClientInterface) WriteLimitData(data []model.LoadControlLimitDataType, ...) (*model.MsgCounterType, error)
- type LoadControlClientInterface_Expecter
- func (_e *LoadControlClientInterface_Expecter) RequestLimitConstraints(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitConstraints_Call
- func (_e *LoadControlClientInterface_Expecter) RequestLimitData(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitData_Call
- func (_e *LoadControlClientInterface_Expecter) RequestLimitDescriptions(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitDescriptions_Call
- func (_e *LoadControlClientInterface_Expecter) WriteLimitData(data interface{}, deleteSelectors interface{}, deleteElements interface{}) *LoadControlClientInterface_WriteLimitData_Call
- type LoadControlClientInterface_RequestLimitConstraints_Call
- func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitConstraints_Call
- func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) Run(...) *LoadControlClientInterface_RequestLimitConstraints_Call
- func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) RunAndReturn(...) *LoadControlClientInterface_RequestLimitConstraints_Call
- type LoadControlClientInterface_RequestLimitData_Call
- func (_c *LoadControlClientInterface_RequestLimitData_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitData_Call
- func (_c *LoadControlClientInterface_RequestLimitData_Call) Run(run func(selector *model.LoadControlLimitListDataSelectorsType, ...)) *LoadControlClientInterface_RequestLimitData_Call
- func (_c *LoadControlClientInterface_RequestLimitData_Call) RunAndReturn(...) *LoadControlClientInterface_RequestLimitData_Call
- type LoadControlClientInterface_RequestLimitDescriptions_Call
- func (_c *LoadControlClientInterface_RequestLimitDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitDescriptions_Call
- func (_c *LoadControlClientInterface_RequestLimitDescriptions_Call) Run(...) *LoadControlClientInterface_RequestLimitDescriptions_Call
- func (_c *LoadControlClientInterface_RequestLimitDescriptions_Call) RunAndReturn(...) *LoadControlClientInterface_RequestLimitDescriptions_Call
- type LoadControlClientInterface_WriteLimitData_Call
- func (_c *LoadControlClientInterface_WriteLimitData_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_WriteLimitData_Call
- func (_c *LoadControlClientInterface_WriteLimitData_Call) Run(run func(data []model.LoadControlLimitDataType, ...)) *LoadControlClientInterface_WriteLimitData_Call
- func (_c *LoadControlClientInterface_WriteLimitData_Call) RunAndReturn(...) *LoadControlClientInterface_WriteLimitData_Call
- type LoadControlCommonInterface
- func (_mock *LoadControlCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *LoadControlCommonInterface) EXPECT() *LoadControlCommonInterface_Expecter
- func (_mock *LoadControlCommonInterface) GetLimitDataForFilter(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDataType, error)
- func (_mock *LoadControlCommonInterface) GetLimitDataForId(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDataType, error)
- func (_mock *LoadControlCommonInterface) GetLimitDescriptionForId(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDescriptionDataType, error)
- func (_mock *LoadControlCommonInterface) GetLimitDescriptionsForFilter(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDescriptionDataType, error)
- type LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
- type LoadControlCommonInterface_Expecter
- func (_e *LoadControlCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_e *LoadControlCommonInterface_Expecter) GetLimitDataForFilter(filter interface{}) *LoadControlCommonInterface_GetLimitDataForFilter_Call
- func (_e *LoadControlCommonInterface_Expecter) GetLimitDataForId(limitId interface{}) *LoadControlCommonInterface_GetLimitDataForId_Call
- func (_e *LoadControlCommonInterface_Expecter) GetLimitDescriptionForId(limitId interface{}) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
- func (_e *LoadControlCommonInterface_Expecter) GetLimitDescriptionsForFilter(filter interface{}) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
- type LoadControlCommonInterface_GetLimitDataForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) Return(loadControlLimitDataTypes []model.LoadControlLimitDataType, err error) *LoadControlCommonInterface_GetLimitDataForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) Run(run func(filter model.LoadControlLimitDescriptionDataType)) *LoadControlCommonInterface_GetLimitDataForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) RunAndReturn(...) *LoadControlCommonInterface_GetLimitDataForFilter_Call
- type LoadControlCommonInterface_GetLimitDataForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) Return(loadControlLimitDataType *model.LoadControlLimitDataType, err error) *LoadControlCommonInterface_GetLimitDataForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) Run(run func(limitId model.LoadControlLimitIdType)) *LoadControlCommonInterface_GetLimitDataForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) RunAndReturn(...) *LoadControlCommonInterface_GetLimitDataForId_Call
- type LoadControlCommonInterface_GetLimitDescriptionForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) Return(loadControlLimitDescriptionDataType *model.LoadControlLimitDescriptionDataType, ...) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) Run(run func(limitId model.LoadControlLimitIdType)) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) RunAndReturn(...) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
- type LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) Return(...) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) Run(run func(filter model.LoadControlLimitDescriptionDataType)) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
- func (_c *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) RunAndReturn(...) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
- type LoadControlServerInterface
- func (_mock *LoadControlServerInterface) AddLimitDescription(description model.LoadControlLimitDescriptionDataType) *model.LoadControlLimitIdType
- func (_m *LoadControlServerInterface) EXPECT() *LoadControlServerInterface_Expecter
- func (_mock *LoadControlServerInterface) UpdateLimitDataForFilter(data []api.LoadControlLimitDataForFilter, ...) error
- func (_mock *LoadControlServerInterface) UpdateLimitDataForIds(data []api.LoadControlLimitDataForID) error
- type LoadControlServerInterface_AddLimitDescription_Call
- func (_c *LoadControlServerInterface_AddLimitDescription_Call) Return(loadControlLimitIdType *model.LoadControlLimitIdType) *LoadControlServerInterface_AddLimitDescription_Call
- func (_c *LoadControlServerInterface_AddLimitDescription_Call) Run(run func(description model.LoadControlLimitDescriptionDataType)) *LoadControlServerInterface_AddLimitDescription_Call
- func (_c *LoadControlServerInterface_AddLimitDescription_Call) RunAndReturn(...) *LoadControlServerInterface_AddLimitDescription_Call
- type LoadControlServerInterface_Expecter
- func (_e *LoadControlServerInterface_Expecter) AddLimitDescription(description interface{}) *LoadControlServerInterface_AddLimitDescription_Call
- func (_e *LoadControlServerInterface_Expecter) UpdateLimitDataForFilter(data interface{}, deleteSelector interface{}, deleteElements interface{}) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
- func (_e *LoadControlServerInterface_Expecter) UpdateLimitDataForIds(data interface{}) *LoadControlServerInterface_UpdateLimitDataForIds_Call
- type LoadControlServerInterface_UpdateLimitDataForFilter_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForFilter_Call) Return(err error) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForFilter_Call) Run(run func(data []api.LoadControlLimitDataForFilter, ...)) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForFilter_Call) RunAndReturn(run func(data []api.LoadControlLimitDataForFilter, ...) error) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
- type LoadControlServerInterface_UpdateLimitDataForIds_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForIds_Call) Return(err error) *LoadControlServerInterface_UpdateLimitDataForIds_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForIds_Call) Run(run func(data []api.LoadControlLimitDataForID)) *LoadControlServerInterface_UpdateLimitDataForIds_Call
- func (_c *LoadControlServerInterface_UpdateLimitDataForIds_Call) RunAndReturn(run func(data []api.LoadControlLimitDataForID) error) *LoadControlServerInterface_UpdateLimitDataForIds_Call
- type MeasurementClientInterface
- func (_m *MeasurementClientInterface) EXPECT() *MeasurementClientInterface_Expecter
- func (_mock *MeasurementClientInterface) RequestConstraints(selector *model.MeasurementConstraintsListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *MeasurementClientInterface) RequestData(selector *model.MeasurementListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *MeasurementClientInterface) RequestDescriptions(selector *model.MeasurementDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- type MeasurementClientInterface_Expecter
- func (_e *MeasurementClientInterface_Expecter) RequestConstraints(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestConstraints_Call
- func (_e *MeasurementClientInterface_Expecter) RequestData(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestData_Call
- func (_e *MeasurementClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestDescriptions_Call
- type MeasurementClientInterface_RequestConstraints_Call
- func (_c *MeasurementClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestConstraints_Call
- func (_c *MeasurementClientInterface_RequestConstraints_Call) Run(run func(selector *model.MeasurementConstraintsListDataSelectorsType, ...)) *MeasurementClientInterface_RequestConstraints_Call
- func (_c *MeasurementClientInterface_RequestConstraints_Call) RunAndReturn(...) *MeasurementClientInterface_RequestConstraints_Call
- type MeasurementClientInterface_RequestData_Call
- func (_c *MeasurementClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestData_Call
- func (_c *MeasurementClientInterface_RequestData_Call) Run(run func(selector *model.MeasurementListDataSelectorsType, ...)) *MeasurementClientInterface_RequestData_Call
- func (_c *MeasurementClientInterface_RequestData_Call) RunAndReturn(...) *MeasurementClientInterface_RequestData_Call
- type MeasurementClientInterface_RequestDescriptions_Call
- func (_c *MeasurementClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestDescriptions_Call
- func (_c *MeasurementClientInterface_RequestDescriptions_Call) Run(run func(selector *model.MeasurementDescriptionListDataSelectorsType, ...)) *MeasurementClientInterface_RequestDescriptions_Call
- func (_c *MeasurementClientInterface_RequestDescriptions_Call) RunAndReturn(...) *MeasurementClientInterface_RequestDescriptions_Call
- type MeasurementCommonInterface
- func (_mock *MeasurementCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
- func (_m *MeasurementCommonInterface) EXPECT() *MeasurementCommonInterface_Expecter
- func (_mock *MeasurementCommonInterface) GetConstraintsForFilter(filter model.MeasurementConstraintsDataType) ([]model.MeasurementConstraintsDataType, error)
- func (_mock *MeasurementCommonInterface) GetDataForFilter(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDataType, error)
- func (_mock *MeasurementCommonInterface) GetDataForId(measurementId model.MeasurementIdType) (*model.MeasurementDataType, error)
- func (_mock *MeasurementCommonInterface) GetDescriptionForId(measurementId model.MeasurementIdType) (*model.MeasurementDescriptionDataType, error)
- func (_mock *MeasurementCommonInterface) GetDescriptionsForFilter(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDescriptionDataType, error)
- type MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) Return(b bool) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_c *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
- type MeasurementCommonInterface_Expecter
- func (_e *MeasurementCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
- func (_e *MeasurementCommonInterface_Expecter) GetConstraintsForFilter(filter interface{}) *MeasurementCommonInterface_GetConstraintsForFilter_Call
- func (_e *MeasurementCommonInterface_Expecter) GetDataForFilter(filter interface{}) *MeasurementCommonInterface_GetDataForFilter_Call
- func (_e *MeasurementCommonInterface_Expecter) GetDataForId(measurementId interface{}) *MeasurementCommonInterface_GetDataForId_Call
- func (_e *MeasurementCommonInterface_Expecter) GetDescriptionForId(measurementId interface{}) *MeasurementCommonInterface_GetDescriptionForId_Call
- func (_e *MeasurementCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
- type MeasurementCommonInterface_GetConstraintsForFilter_Call
- func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) Return(measurementConstraintsDataTypes []model.MeasurementConstraintsDataType, ...) *MeasurementCommonInterface_GetConstraintsForFilter_Call
- func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) Run(run func(filter model.MeasurementConstraintsDataType)) *MeasurementCommonInterface_GetConstraintsForFilter_Call
- func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) RunAndReturn(...) *MeasurementCommonInterface_GetConstraintsForFilter_Call
- type MeasurementCommonInterface_GetDataForFilter_Call
- func (_c *MeasurementCommonInterface_GetDataForFilter_Call) Return(measurementDataTypes []model.MeasurementDataType, err error) *MeasurementCommonInterface_GetDataForFilter_Call
- func (_c *MeasurementCommonInterface_GetDataForFilter_Call) Run(run func(filter model.MeasurementDescriptionDataType)) *MeasurementCommonInterface_GetDataForFilter_Call
- func (_c *MeasurementCommonInterface_GetDataForFilter_Call) RunAndReturn(...) *MeasurementCommonInterface_GetDataForFilter_Call
- type MeasurementCommonInterface_GetDataForId_Call
- func (_c *MeasurementCommonInterface_GetDataForId_Call) Return(measurementDataType *model.MeasurementDataType, err error) *MeasurementCommonInterface_GetDataForId_Call
- func (_c *MeasurementCommonInterface_GetDataForId_Call) Run(run func(measurementId model.MeasurementIdType)) *MeasurementCommonInterface_GetDataForId_Call
- func (_c *MeasurementCommonInterface_GetDataForId_Call) RunAndReturn(...) *MeasurementCommonInterface_GetDataForId_Call
- type MeasurementCommonInterface_GetDescriptionForId_Call
- func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) Return(measurementDescriptionDataType *model.MeasurementDescriptionDataType, ...) *MeasurementCommonInterface_GetDescriptionForId_Call
- func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) Run(run func(measurementId model.MeasurementIdType)) *MeasurementCommonInterface_GetDescriptionForId_Call
- func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) RunAndReturn(...) *MeasurementCommonInterface_GetDescriptionForId_Call
- type MeasurementCommonInterface_GetDescriptionsForFilter_Call
- func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) Return(measurementDescriptionDataTypes []model.MeasurementDescriptionDataType, ...) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
- func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.MeasurementDescriptionDataType)) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
- func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(...) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
- type MeasurementServerInterface
- func (_mock *MeasurementServerInterface) AddDescription(description model.MeasurementDescriptionDataType) *model.MeasurementIdType
- func (_m *MeasurementServerInterface) EXPECT() *MeasurementServerInterface_Expecter
- func (_mock *MeasurementServerInterface) UpdateDataForFilters(data []api.MeasurementDataForFilter, ...) error
- func (_mock *MeasurementServerInterface) UpdateDataForIds(data []api.MeasurementDataForID) error
- type MeasurementServerInterface_AddDescription_Call
- func (_c *MeasurementServerInterface_AddDescription_Call) Return(measurementIdType *model.MeasurementIdType) *MeasurementServerInterface_AddDescription_Call
- func (_c *MeasurementServerInterface_AddDescription_Call) Run(run func(description model.MeasurementDescriptionDataType)) *MeasurementServerInterface_AddDescription_Call
- func (_c *MeasurementServerInterface_AddDescription_Call) RunAndReturn(...) *MeasurementServerInterface_AddDescription_Call
- type MeasurementServerInterface_Expecter
- func (_e *MeasurementServerInterface_Expecter) AddDescription(description interface{}) *MeasurementServerInterface_AddDescription_Call
- func (_e *MeasurementServerInterface_Expecter) UpdateDataForFilters(data interface{}, deleteSelector interface{}, deleteElements interface{}) *MeasurementServerInterface_UpdateDataForFilters_Call
- func (_e *MeasurementServerInterface_Expecter) UpdateDataForIds(data interface{}) *MeasurementServerInterface_UpdateDataForIds_Call
- type MeasurementServerInterface_UpdateDataForFilters_Call
- func (_c *MeasurementServerInterface_UpdateDataForFilters_Call) Return(err error) *MeasurementServerInterface_UpdateDataForFilters_Call
- func (_c *MeasurementServerInterface_UpdateDataForFilters_Call) Run(run func(data []api.MeasurementDataForFilter, ...)) *MeasurementServerInterface_UpdateDataForFilters_Call
- func (_c *MeasurementServerInterface_UpdateDataForFilters_Call) RunAndReturn(run func(data []api.MeasurementDataForFilter, ...) error) *MeasurementServerInterface_UpdateDataForFilters_Call
- type MeasurementServerInterface_UpdateDataForIds_Call
- func (_c *MeasurementServerInterface_UpdateDataForIds_Call) Return(err error) *MeasurementServerInterface_UpdateDataForIds_Call
- func (_c *MeasurementServerInterface_UpdateDataForIds_Call) Run(run func(data []api.MeasurementDataForID)) *MeasurementServerInterface_UpdateDataForIds_Call
- func (_c *MeasurementServerInterface_UpdateDataForIds_Call) RunAndReturn(run func(data []api.MeasurementDataForID) error) *MeasurementServerInterface_UpdateDataForIds_Call
- type ServiceInterface
- func (_mock *ServiceInterface) AddUseCase(useCase api.UseCaseInterface) error
- func (_mock *ServiceInterface) CancelPairing(identity api0.ServiceIdentity)
- func (_mock *ServiceInterface) Configuration() *api.Configuration
- func (_mock *ServiceInterface) DisconnectService(identity api0.ServiceIdentity, reason string)
- func (_m *ServiceInterface) EXPECT() *ServiceInterface_Expecter
- func (_mock *ServiceInterface) GetActiveAnnouncements() []string
- func (_mock *ServiceInterface) GetLocalCertificateFingerprint() (string, error)
- func (_mock *ServiceInterface) GetTrustedAddCuDevice() *api0.ServiceDetails
- func (_mock *ServiceInterface) IsAnnouncingTo(shipID string) bool
- func (_mock *ServiceInterface) IsAutoAcceptEnabled() bool
- func (_mock *ServiceInterface) IsRunning() bool
- func (_mock *ServiceInterface) LocalDevice() api1.DeviceLocalInterface
- func (_mock *ServiceInterface) LocalService() *api0.ServiceDetails
- func (_mock *ServiceInterface) PairingDetailFor(identity api0.ServiceIdentity) *api0.ConnectionStateDetail
- func (_mock *ServiceInterface) QRCodeText() (string, error)
- func (_mock *ServiceInterface) RegisterRemoteService(identity api0.ServiceIdentity)
- func (_mock *ServiceInterface) RemoteServiceFor(identity api0.ServiceIdentity) *api0.ServiceDetails
- func (_mock *ServiceInterface) SetAutoAccept(value bool)
- func (_mock *ServiceInterface) SetLogging(logger logging.LoggingInterface)
- func (_mock *ServiceInterface) Setup() error
- func (_mock *ServiceInterface) Shutdown()
- func (_mock *ServiceInterface) Start() error
- func (_mock *ServiceInterface) StartAnnouncementTo(target api0.PairingTarget) error
- func (_mock *ServiceInterface) StopAnnouncementTo(shipID string) error
- func (_mock *ServiceInterface) UnregisterRemoteService(identity api0.ServiceIdentity)
- func (_mock *ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests(allow bool)
- type ServiceInterface_AddUseCase_Call
- func (_c *ServiceInterface_AddUseCase_Call) Return(err error) *ServiceInterface_AddUseCase_Call
- func (_c *ServiceInterface_AddUseCase_Call) Run(run func(useCase api.UseCaseInterface)) *ServiceInterface_AddUseCase_Call
- func (_c *ServiceInterface_AddUseCase_Call) RunAndReturn(run func(useCase api.UseCaseInterface) error) *ServiceInterface_AddUseCase_Call
- type ServiceInterface_CancelPairing_Call
- func (_c *ServiceInterface_CancelPairing_Call) Return() *ServiceInterface_CancelPairing_Call
- func (_c *ServiceInterface_CancelPairing_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_CancelPairing_Call
- func (_c *ServiceInterface_CancelPairing_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_CancelPairing_Call
- type ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) Return(configuration *api.Configuration) *ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) Run(run func()) *ServiceInterface_Configuration_Call
- func (_c *ServiceInterface_Configuration_Call) RunAndReturn(run func() *api.Configuration) *ServiceInterface_Configuration_Call
- type ServiceInterface_DisconnectService_Call
- func (_c *ServiceInterface_DisconnectService_Call) Return() *ServiceInterface_DisconnectService_Call
- func (_c *ServiceInterface_DisconnectService_Call) Run(run func(identity api0.ServiceIdentity, reason string)) *ServiceInterface_DisconnectService_Call
- func (_c *ServiceInterface_DisconnectService_Call) RunAndReturn(run func(identity api0.ServiceIdentity, reason string)) *ServiceInterface_DisconnectService_Call
- type ServiceInterface_Expecter
- func (_e *ServiceInterface_Expecter) AddUseCase(useCase interface{}) *ServiceInterface_AddUseCase_Call
- func (_e *ServiceInterface_Expecter) CancelPairing(identity interface{}) *ServiceInterface_CancelPairing_Call
- func (_e *ServiceInterface_Expecter) Configuration() *ServiceInterface_Configuration_Call
- func (_e *ServiceInterface_Expecter) DisconnectService(identity interface{}, reason interface{}) *ServiceInterface_DisconnectService_Call
- func (_e *ServiceInterface_Expecter) GetActiveAnnouncements() *ServiceInterface_GetActiveAnnouncements_Call
- func (_e *ServiceInterface_Expecter) GetLocalCertificateFingerprint() *ServiceInterface_GetLocalCertificateFingerprint_Call
- func (_e *ServiceInterface_Expecter) GetTrustedAddCuDevice() *ServiceInterface_GetTrustedAddCuDevice_Call
- func (_e *ServiceInterface_Expecter) IsAnnouncingTo(shipID interface{}) *ServiceInterface_IsAnnouncingTo_Call
- func (_e *ServiceInterface_Expecter) IsAutoAcceptEnabled() *ServiceInterface_IsAutoAcceptEnabled_Call
- func (_e *ServiceInterface_Expecter) IsRunning() *ServiceInterface_IsRunning_Call
- func (_e *ServiceInterface_Expecter) LocalDevice() *ServiceInterface_LocalDevice_Call
- func (_e *ServiceInterface_Expecter) LocalService() *ServiceInterface_LocalService_Call
- func (_e *ServiceInterface_Expecter) PairingDetailFor(identity interface{}) *ServiceInterface_PairingDetailFor_Call
- func (_e *ServiceInterface_Expecter) QRCodeText() *ServiceInterface_QRCodeText_Call
- func (_e *ServiceInterface_Expecter) RegisterRemoteService(identity interface{}) *ServiceInterface_RegisterRemoteService_Call
- func (_e *ServiceInterface_Expecter) RemoteServiceFor(identity interface{}) *ServiceInterface_RemoteServiceFor_Call
- func (_e *ServiceInterface_Expecter) SetAutoAccept(value interface{}) *ServiceInterface_SetAutoAccept_Call
- func (_e *ServiceInterface_Expecter) SetLogging(logger interface{}) *ServiceInterface_SetLogging_Call
- func (_e *ServiceInterface_Expecter) Setup() *ServiceInterface_Setup_Call
- func (_e *ServiceInterface_Expecter) Shutdown() *ServiceInterface_Shutdown_Call
- func (_e *ServiceInterface_Expecter) Start() *ServiceInterface_Start_Call
- func (_e *ServiceInterface_Expecter) StartAnnouncementTo(target interface{}) *ServiceInterface_StartAnnouncementTo_Call
- func (_e *ServiceInterface_Expecter) StopAnnouncementTo(shipID interface{}) *ServiceInterface_StopAnnouncementTo_Call
- func (_e *ServiceInterface_Expecter) UnregisterRemoteService(identity interface{}) *ServiceInterface_UnregisterRemoteService_Call
- func (_e *ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests(allow interface{}) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- type ServiceInterface_GetActiveAnnouncements_Call
- func (_c *ServiceInterface_GetActiveAnnouncements_Call) Return(strings []string) *ServiceInterface_GetActiveAnnouncements_Call
- func (_c *ServiceInterface_GetActiveAnnouncements_Call) Run(run func()) *ServiceInterface_GetActiveAnnouncements_Call
- func (_c *ServiceInterface_GetActiveAnnouncements_Call) RunAndReturn(run func() []string) *ServiceInterface_GetActiveAnnouncements_Call
- type ServiceInterface_GetLocalCertificateFingerprint_Call
- func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) Return(s string, err error) *ServiceInterface_GetLocalCertificateFingerprint_Call
- func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) Run(run func()) *ServiceInterface_GetLocalCertificateFingerprint_Call
- func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) RunAndReturn(run func() (string, error)) *ServiceInterface_GetLocalCertificateFingerprint_Call
- type ServiceInterface_GetTrustedAddCuDevice_Call
- func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_GetTrustedAddCuDevice_Call
- func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) Run(run func()) *ServiceInterface_GetTrustedAddCuDevice_Call
- func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api0.ServiceDetails) *ServiceInterface_GetTrustedAddCuDevice_Call
- type ServiceInterface_IsAnnouncingTo_Call
- func (_c *ServiceInterface_IsAnnouncingTo_Call) Return(b bool) *ServiceInterface_IsAnnouncingTo_Call
- func (_c *ServiceInterface_IsAnnouncingTo_Call) Run(run func(shipID string)) *ServiceInterface_IsAnnouncingTo_Call
- func (_c *ServiceInterface_IsAnnouncingTo_Call) RunAndReturn(run func(shipID string) bool) *ServiceInterface_IsAnnouncingTo_Call
- type ServiceInterface_IsAutoAcceptEnabled_Call
- func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) Return(b bool) *ServiceInterface_IsAutoAcceptEnabled_Call
- func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) Run(run func()) *ServiceInterface_IsAutoAcceptEnabled_Call
- func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *ServiceInterface_IsAutoAcceptEnabled_Call
- type ServiceInterface_IsRunning_Call
- type ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) Return(deviceLocalInterface api1.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) Run(run func()) *ServiceInterface_LocalDevice_Call
- func (_c *ServiceInterface_LocalDevice_Call) RunAndReturn(run func() api1.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
- type ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) Run(run func()) *ServiceInterface_LocalService_Call
- func (_c *ServiceInterface_LocalService_Call) RunAndReturn(run func() *api0.ServiceDetails) *ServiceInterface_LocalService_Call
- type ServiceInterface_PairingDetailFor_Call
- func (_c *ServiceInterface_PairingDetailFor_Call) Return(connectionStateDetail *api0.ConnectionStateDetail) *ServiceInterface_PairingDetailFor_Call
- func (_c *ServiceInterface_PairingDetailFor_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_PairingDetailFor_Call
- func (_c *ServiceInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api0.ServiceIdentity) *api0.ConnectionStateDetail) *ServiceInterface_PairingDetailFor_Call
- type ServiceInterface_QRCodeText_Call
- func (_c *ServiceInterface_QRCodeText_Call) Return(s string, err error) *ServiceInterface_QRCodeText_Call
- func (_c *ServiceInterface_QRCodeText_Call) Run(run func()) *ServiceInterface_QRCodeText_Call
- func (_c *ServiceInterface_QRCodeText_Call) RunAndReturn(run func() (string, error)) *ServiceInterface_QRCodeText_Call
- type ServiceInterface_RegisterRemoteService_Call
- func (_c *ServiceInterface_RegisterRemoteService_Call) Return() *ServiceInterface_RegisterRemoteService_Call
- func (_c *ServiceInterface_RegisterRemoteService_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_RegisterRemoteService_Call
- func (_c *ServiceInterface_RegisterRemoteService_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_RegisterRemoteService_Call
- type ServiceInterface_RemoteServiceFor_Call
- func (_c *ServiceInterface_RemoteServiceFor_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_RemoteServiceFor_Call
- func (_c *ServiceInterface_RemoteServiceFor_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_RemoteServiceFor_Call
- func (_c *ServiceInterface_RemoteServiceFor_Call) RunAndReturn(run func(identity api0.ServiceIdentity) *api0.ServiceDetails) *ServiceInterface_RemoteServiceFor_Call
- type ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) Return() *ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) Run(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
- func (_c *ServiceInterface_SetAutoAccept_Call) RunAndReturn(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
- type ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) Return() *ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) Run(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
- func (_c *ServiceInterface_SetLogging_Call) RunAndReturn(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
- type ServiceInterface_Setup_Call
- type ServiceInterface_Shutdown_Call
- type ServiceInterface_StartAnnouncementTo_Call
- func (_c *ServiceInterface_StartAnnouncementTo_Call) Return(err error) *ServiceInterface_StartAnnouncementTo_Call
- func (_c *ServiceInterface_StartAnnouncementTo_Call) Run(run func(target api0.PairingTarget)) *ServiceInterface_StartAnnouncementTo_Call
- func (_c *ServiceInterface_StartAnnouncementTo_Call) RunAndReturn(run func(target api0.PairingTarget) error) *ServiceInterface_StartAnnouncementTo_Call
- type ServiceInterface_Start_Call
- type ServiceInterface_StopAnnouncementTo_Call
- func (_c *ServiceInterface_StopAnnouncementTo_Call) Return(err error) *ServiceInterface_StopAnnouncementTo_Call
- func (_c *ServiceInterface_StopAnnouncementTo_Call) Run(run func(shipID string)) *ServiceInterface_StopAnnouncementTo_Call
- func (_c *ServiceInterface_StopAnnouncementTo_Call) RunAndReturn(run func(shipID string) error) *ServiceInterface_StopAnnouncementTo_Call
- type ServiceInterface_UnregisterRemoteService_Call
- func (_c *ServiceInterface_UnregisterRemoteService_Call) Return() *ServiceInterface_UnregisterRemoteService_Call
- func (_c *ServiceInterface_UnregisterRemoteService_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_UnregisterRemoteService_Call
- func (_c *ServiceInterface_UnregisterRemoteService_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_UnregisterRemoteService_Call
- type ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Return() *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
- type ServiceReaderInterface
- func (_m *ServiceReaderInterface) EXPECT() *ServiceReaderInterface_Expecter
- func (_mock *ServiceReaderInterface) RemoteServiceConnected(service api.ServiceInterface, identity api0.ServiceIdentity)
- func (_mock *ServiceReaderInterface) RemoteServiceDisconnected(service api.ServiceInterface, identity api0.ServiceIdentity)
- func (_mock *ServiceReaderInterface) ServiceAutoTrustFailed(service api.ServiceInterface, identity api0.ServiceIdentity, reason error)
- func (_mock *ServiceReaderInterface) ServiceAutoTrustRemoved(service api.ServiceInterface, identity api0.ServiceIdentity, reason string)
- func (_mock *ServiceReaderInterface) ServiceAutoTrusted(service api.ServiceInterface, identity api0.ServiceIdentity)
- func (_mock *ServiceReaderInterface) ServicePairingDetailUpdate(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)
- func (_mock *ServiceReaderInterface) ServiceUpdated(identity api0.ServiceIdentity)
- func (_mock *ServiceReaderInterface) VisibleRemoteMdnsServicesUpdated(service api.ServiceInterface, entries []api0.RemoteMdnsService)
- type ServiceReaderInterface_Expecter
- func (_e *ServiceReaderInterface_Expecter) RemoteServiceConnected(service interface{}, identity interface{}) *ServiceReaderInterface_RemoteServiceConnected_Call
- func (_e *ServiceReaderInterface_Expecter) RemoteServiceDisconnected(service interface{}, identity interface{}) *ServiceReaderInterface_RemoteServiceDisconnected_Call
- func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrustFailed(service interface{}, identity interface{}, reason interface{}) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrustRemoved(service interface{}, identity interface{}, reason interface{}) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrusted(service interface{}, identity interface{}) *ServiceReaderInterface_ServiceAutoTrusted_Call
- func (_e *ServiceReaderInterface_Expecter) ServicePairingDetailUpdate(identity interface{}, detail interface{}) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_e *ServiceReaderInterface_Expecter) ServiceUpdated(identity interface{}) *ServiceReaderInterface_ServiceUpdated_Call
- func (_e *ServiceReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated(service interface{}, entries interface{}) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- type ServiceReaderInterface_RemoteServiceConnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceConnected_Call) Return() *ServiceReaderInterface_RemoteServiceConnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceConnected_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceConnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceConnected_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceConnected_Call
- type ServiceReaderInterface_RemoteServiceDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceDisconnected_Call) Return() *ServiceReaderInterface_RemoteServiceDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceDisconnected_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceDisconnected_Call
- func (_c *ServiceReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceDisconnected_Call
- type ServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustFailed_Call) Return() *ServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustFailed_Call) Run(...) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn(...) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
- type ServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustRemoved_Call) Return() *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run(...) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn(...) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
- type ServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrusted_Call) Return() *ServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrusted_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceAutoTrusted_Call
- func (_c *ServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceAutoTrusted_Call
- type ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Return() *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
- type ServiceReaderInterface_ServiceUpdated_Call
- func (_c *ServiceReaderInterface_ServiceUpdated_Call) Return() *ServiceReaderInterface_ServiceUpdated_Call
- func (_c *ServiceReaderInterface_ServiceUpdated_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceUpdated_Call
- func (_c *ServiceReaderInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceUpdated_Call
- type ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Return() *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run(run func(service api.ServiceInterface, entries []api0.RemoteMdnsService)) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- func (_c *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(service api.ServiceInterface, entries []api0.RemoteMdnsService)) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
- type SmartEnergyManagementPsClientInterface
- func (_m *SmartEnergyManagementPsClientInterface) EXPECT() *SmartEnergyManagementPsClientInterface_Expecter
- func (_mock *SmartEnergyManagementPsClientInterface) RequestData() (*model.MsgCounterType, error)
- func (_mock *SmartEnergyManagementPsClientInterface) WriteData(data *model.SmartEnergyManagementPsDataType) (*model.MsgCounterType, error)
- type SmartEnergyManagementPsClientInterface_Expecter
- type SmartEnergyManagementPsClientInterface_RequestData_Call
- func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *SmartEnergyManagementPsClientInterface_RequestData_Call
- func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) Run(run func()) *SmartEnergyManagementPsClientInterface_RequestData_Call
- func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *SmartEnergyManagementPsClientInterface_RequestData_Call
- type SmartEnergyManagementPsClientInterface_WriteData_Call
- func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) Return(msgCounterType *model.MsgCounterType, err error) *SmartEnergyManagementPsClientInterface_WriteData_Call
- func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) Run(run func(data *model.SmartEnergyManagementPsDataType)) *SmartEnergyManagementPsClientInterface_WriteData_Call
- func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) RunAndReturn(...) *SmartEnergyManagementPsClientInterface_WriteData_Call
- type SmartEnergyManagementPsCommonInterface
- type SmartEnergyManagementPsCommonInterface_Expecter
- type SmartEnergyManagementPsCommonInterface_GetData_Call
- func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) Return(smartEnergyManagementPsDataType *model.SmartEnergyManagementPsDataType, ...) *SmartEnergyManagementPsCommonInterface_GetData_Call
- func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) Run(run func()) *SmartEnergyManagementPsCommonInterface_GetData_Call
- func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) RunAndReturn(run func() (*model.SmartEnergyManagementPsDataType, error)) *SmartEnergyManagementPsCommonInterface_GetData_Call
- type SmartEnergyManagementPsServerInterface
- type SmartEnergyManagementPsServerInterface_Expecter
- type TimeSeriesClientInterface
- func (_m *TimeSeriesClientInterface) EXPECT() *TimeSeriesClientInterface_Expecter
- func (_mock *TimeSeriesClientInterface) RequestConstraints(selector *model.TimeSeriesConstraintsListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *TimeSeriesClientInterface) RequestData(selector *model.TimeSeriesListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *TimeSeriesClientInterface) RequestDescriptions(selector *model.TimeSeriesDescriptionListDataSelectorsType, ...) (*model.MsgCounterType, error)
- func (_mock *TimeSeriesClientInterface) WriteData(data []model.TimeSeriesDataType) (*model.MsgCounterType, error)
- type TimeSeriesClientInterface_Expecter
- func (_e *TimeSeriesClientInterface_Expecter) RequestConstraints(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestConstraints_Call
- func (_e *TimeSeriesClientInterface_Expecter) RequestData(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestData_Call
- func (_e *TimeSeriesClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestDescriptions_Call
- func (_e *TimeSeriesClientInterface_Expecter) WriteData(data interface{}) *TimeSeriesClientInterface_WriteData_Call
- type TimeSeriesClientInterface_RequestConstraints_Call
- func (_c *TimeSeriesClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestConstraints_Call
- func (_c *TimeSeriesClientInterface_RequestConstraints_Call) Run(run func(selector *model.TimeSeriesConstraintsListDataSelectorsType, ...)) *TimeSeriesClientInterface_RequestConstraints_Call
- func (_c *TimeSeriesClientInterface_RequestConstraints_Call) RunAndReturn(...) *TimeSeriesClientInterface_RequestConstraints_Call
- type TimeSeriesClientInterface_RequestData_Call
- func (_c *TimeSeriesClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestData_Call
- func (_c *TimeSeriesClientInterface_RequestData_Call) Run(run func(selector *model.TimeSeriesListDataSelectorsType, ...)) *TimeSeriesClientInterface_RequestData_Call
- func (_c *TimeSeriesClientInterface_RequestData_Call) RunAndReturn(...) *TimeSeriesClientInterface_RequestData_Call
- type TimeSeriesClientInterface_RequestDescriptions_Call
- func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestDescriptions_Call
- func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) Run(run func(selector *model.TimeSeriesDescriptionListDataSelectorsType, ...)) *TimeSeriesClientInterface_RequestDescriptions_Call
- func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) RunAndReturn(...) *TimeSeriesClientInterface_RequestDescriptions_Call
- type TimeSeriesClientInterface_WriteData_Call
- func (_c *TimeSeriesClientInterface_WriteData_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_WriteData_Call
- func (_c *TimeSeriesClientInterface_WriteData_Call) Run(run func(data []model.TimeSeriesDataType)) *TimeSeriesClientInterface_WriteData_Call
- func (_c *TimeSeriesClientInterface_WriteData_Call) RunAndReturn(run func(data []model.TimeSeriesDataType) (*model.MsgCounterType, error)) *TimeSeriesClientInterface_WriteData_Call
- type TimeSeriesCommonInterface
- func (_m *TimeSeriesCommonInterface) EXPECT() *TimeSeriesCommonInterface_Expecter
- func (_mock *TimeSeriesCommonInterface) GetConstraints() ([]model.TimeSeriesConstraintsDataType, error)
- func (_mock *TimeSeriesCommonInterface) GetDataForFilter(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDataType, error)
- func (_mock *TimeSeriesCommonInterface) GetDescriptionsForFilter(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDescriptionDataType, error)
- type TimeSeriesCommonInterface_Expecter
- func (_e *TimeSeriesCommonInterface_Expecter) GetConstraints() *TimeSeriesCommonInterface_GetConstraints_Call
- func (_e *TimeSeriesCommonInterface_Expecter) GetDataForFilter(filter interface{}) *TimeSeriesCommonInterface_GetDataForFilter_Call
- func (_e *TimeSeriesCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
- type TimeSeriesCommonInterface_GetConstraints_Call
- func (_c *TimeSeriesCommonInterface_GetConstraints_Call) Return(timeSeriesConstraintsDataTypes []model.TimeSeriesConstraintsDataType, ...) *TimeSeriesCommonInterface_GetConstraints_Call
- func (_c *TimeSeriesCommonInterface_GetConstraints_Call) Run(run func()) *TimeSeriesCommonInterface_GetConstraints_Call
- func (_c *TimeSeriesCommonInterface_GetConstraints_Call) RunAndReturn(run func() ([]model.TimeSeriesConstraintsDataType, error)) *TimeSeriesCommonInterface_GetConstraints_Call
- type TimeSeriesCommonInterface_GetDataForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) Return(timeSeriesDataTypes []model.TimeSeriesDataType, err error) *TimeSeriesCommonInterface_GetDataForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) Run(run func(filter model.TimeSeriesDescriptionDataType)) *TimeSeriesCommonInterface_GetDataForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) RunAndReturn(...) *TimeSeriesCommonInterface_GetDataForFilter_Call
- type TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Return(timeSeriesDescriptionDataTypes []model.TimeSeriesDescriptionDataType, ...) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.TimeSeriesDescriptionDataType)) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
- func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(...) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
- type TimeSeriesServerInterface
- type TimeSeriesServerInterface_Expecter
- type UseCaseBaseInterface
- func (_mock *UseCaseBaseInterface) AddUseCase()
- func (_mock *UseCaseBaseInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *UseCaseBaseInterface) EXPECT() *UseCaseBaseInterface_Expecter
- func (_mock *UseCaseBaseInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *UseCaseBaseInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *UseCaseBaseInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *UseCaseBaseInterface) RemoveUseCase()
- func (_mock *UseCaseBaseInterface) UpdateUseCaseAvailability(available bool)
- type UseCaseBaseInterface_AddUseCase_Call
- func (_c *UseCaseBaseInterface_AddUseCase_Call) Return() *UseCaseBaseInterface_AddUseCase_Call
- func (_c *UseCaseBaseInterface_AddUseCase_Call) Run(run func()) *UseCaseBaseInterface_AddUseCase_Call
- func (_c *UseCaseBaseInterface_AddUseCase_Call) RunAndReturn(run func()) *UseCaseBaseInterface_AddUseCase_Call
- type UseCaseBaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
- type UseCaseBaseInterface_Expecter
- func (_e *UseCaseBaseInterface_Expecter) AddUseCase() *UseCaseBaseInterface_AddUseCase_Call
- func (_e *UseCaseBaseInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
- func (_e *UseCaseBaseInterface_Expecter) IsCompatibleEntityType(entity interface{}) *UseCaseBaseInterface_IsCompatibleEntityType_Call
- func (_e *UseCaseBaseInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
- func (_e *UseCaseBaseInterface_Expecter) RemoteEntitiesScenarios() *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
- func (_e *UseCaseBaseInterface_Expecter) RemoveUseCase() *UseCaseBaseInterface_RemoveUseCase_Call
- func (_e *UseCaseBaseInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
- type UseCaseBaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseBaseInterface_IsCompatibleEntityType_Call) Return(b bool) *UseCaseBaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseBaseInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseBaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseBaseInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *UseCaseBaseInterface_IsCompatibleEntityType_Call
- type UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
- type UseCaseBaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Run(run func()) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
- type UseCaseBaseInterface_RemoveUseCase_Call
- func (_c *UseCaseBaseInterface_RemoveUseCase_Call) Return() *UseCaseBaseInterface_RemoveUseCase_Call
- func (_c *UseCaseBaseInterface_RemoveUseCase_Call) Run(run func()) *UseCaseBaseInterface_RemoveUseCase_Call
- func (_c *UseCaseBaseInterface_RemoveUseCase_Call) RunAndReturn(run func()) *UseCaseBaseInterface_RemoveUseCase_Call
- type UseCaseBaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseBaseInterface_UpdateUseCaseAvailability_Call) Return() *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseBaseInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseBaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
- type UseCaseInterface
- func (_mock *UseCaseInterface) AddFeatures() error
- func (_mock *UseCaseInterface) AddUseCase()
- func (_mock *UseCaseInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *UseCaseInterface) EXPECT() *UseCaseInterface_Expecter
- func (_mock *UseCaseInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *UseCaseInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *UseCaseInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *UseCaseInterface) RemoveUseCase()
- func (_mock *UseCaseInterface) UpdateUseCaseAvailability(available bool)
- type UseCaseInterface_AddFeatures_Call
- func (_c *UseCaseInterface_AddFeatures_Call) Return(err error) *UseCaseInterface_AddFeatures_Call
- func (_c *UseCaseInterface_AddFeatures_Call) Run(run func()) *UseCaseInterface_AddFeatures_Call
- func (_c *UseCaseInterface_AddFeatures_Call) RunAndReturn(run func() error) *UseCaseInterface_AddFeatures_Call
- type UseCaseInterface_AddUseCase_Call
- type UseCaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *UseCaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseInterface_AvailableScenariosForEntity_Call
- func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *UseCaseInterface_AvailableScenariosForEntity_Call
- type UseCaseInterface_Expecter
- func (_e *UseCaseInterface_Expecter) AddFeatures() *UseCaseInterface_AddFeatures_Call
- func (_e *UseCaseInterface_Expecter) AddUseCase() *UseCaseInterface_AddUseCase_Call
- func (_e *UseCaseInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *UseCaseInterface_AvailableScenariosForEntity_Call
- func (_e *UseCaseInterface_Expecter) IsCompatibleEntityType(entity interface{}) *UseCaseInterface_IsCompatibleEntityType_Call
- func (_e *UseCaseInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
- func (_e *UseCaseInterface_Expecter) RemoteEntitiesScenarios() *UseCaseInterface_RemoteEntitiesScenarios_Call
- func (_e *UseCaseInterface_Expecter) RemoveUseCase() *UseCaseInterface_RemoveUseCase_Call
- func (_e *UseCaseInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *UseCaseInterface_UpdateUseCaseAvailability_Call
- type UseCaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseInterface_IsCompatibleEntityType_Call) Return(b bool) *UseCaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseInterface_IsCompatibleEntityType_Call
- func (_c *UseCaseInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *UseCaseInterface_IsCompatibleEntityType_Call
- type UseCaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
- func (_c *UseCaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
- type UseCaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *UseCaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) Run(run func()) *UseCaseInterface_RemoteEntitiesScenarios_Call
- func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *UseCaseInterface_RemoteEntitiesScenarios_Call
- type UseCaseInterface_RemoveUseCase_Call
- func (_c *UseCaseInterface_RemoveUseCase_Call) Return() *UseCaseInterface_RemoveUseCase_Call
- func (_c *UseCaseInterface_RemoveUseCase_Call) Run(run func()) *UseCaseInterface_RemoveUseCase_Call
- func (_c *UseCaseInterface_RemoveUseCase_Call) RunAndReturn(run func()) *UseCaseInterface_RemoveUseCase_Call
- type UseCaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseInterface_UpdateUseCaseAvailability_Call) Return() *UseCaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *UseCaseInterface_UpdateUseCaseAvailability_Call
- func (_c *UseCaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *UseCaseInterface_UpdateUseCaseAvailability_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceClassificationClientInterface ¶ added in v0.6.0
DeviceClassificationClientInterface is an autogenerated mock type for the DeviceClassificationClientInterface type
func NewDeviceClassificationClientInterface ¶ added in v0.6.0
func NewDeviceClassificationClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceClassificationClientInterface
NewDeviceClassificationClientInterface creates a new instance of DeviceClassificationClientInterface. 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 (*DeviceClassificationClientInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceClassificationClientInterface) EXPECT() *DeviceClassificationClientInterface_Expecter
func (*DeviceClassificationClientInterface) RequestManufacturerDetails ¶ added in v0.6.0
func (_mock *DeviceClassificationClientInterface) RequestManufacturerDetails() (*model.MsgCounterType, error)
RequestManufacturerDetails provides a mock function for the type DeviceClassificationClientInterface
type DeviceClassificationClientInterface_Expecter ¶ added in v0.6.0
type DeviceClassificationClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceClassificationClientInterface_Expecter) RequestManufacturerDetails ¶ added in v0.6.0
func (_e *DeviceClassificationClientInterface_Expecter) RequestManufacturerDetails() *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
RequestManufacturerDetails is a helper method to define mock.On call
type DeviceClassificationClientInterface_RequestManufacturerDetails_Call ¶ added in v0.6.0
DeviceClassificationClientInterface_RequestManufacturerDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestManufacturerDetails'
func (*DeviceClassificationClientInterface_RequestManufacturerDetails_Call) Return ¶ added in v0.6.0
func (_c *DeviceClassificationClientInterface_RequestManufacturerDetails_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
func (*DeviceClassificationClientInterface_RequestManufacturerDetails_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceClassificationClientInterface_RequestManufacturerDetails_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceClassificationClientInterface_RequestManufacturerDetails_Call
type DeviceClassificationCommonInterface ¶ added in v0.6.0
DeviceClassificationCommonInterface is an autogenerated mock type for the DeviceClassificationCommonInterface type
func NewDeviceClassificationCommonInterface ¶ added in v0.6.0
func NewDeviceClassificationCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceClassificationCommonInterface
NewDeviceClassificationCommonInterface creates a new instance of DeviceClassificationCommonInterface. 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 (*DeviceClassificationCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceClassificationCommonInterface) EXPECT() *DeviceClassificationCommonInterface_Expecter
func (*DeviceClassificationCommonInterface) GetManufacturerDetails ¶ added in v0.6.0
func (_mock *DeviceClassificationCommonInterface) GetManufacturerDetails() (*model.DeviceClassificationManufacturerDataType, error)
GetManufacturerDetails provides a mock function for the type DeviceClassificationCommonInterface
type DeviceClassificationCommonInterface_Expecter ¶ added in v0.6.0
type DeviceClassificationCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceClassificationCommonInterface_Expecter) GetManufacturerDetails ¶ added in v0.6.0
func (_e *DeviceClassificationCommonInterface_Expecter) GetManufacturerDetails() *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
GetManufacturerDetails is a helper method to define mock.On call
type DeviceClassificationCommonInterface_GetManufacturerDetails_Call ¶ added in v0.6.0
DeviceClassificationCommonInterface_GetManufacturerDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManufacturerDetails'
func (*DeviceClassificationCommonInterface_GetManufacturerDetails_Call) Return ¶ added in v0.6.0
func (_c *DeviceClassificationCommonInterface_GetManufacturerDetails_Call) Return(deviceClassificationManufacturerDataType *model.DeviceClassificationManufacturerDataType, err error) *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
func (*DeviceClassificationCommonInterface_GetManufacturerDetails_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceClassificationCommonInterface_GetManufacturerDetails_Call) RunAndReturn(run func() (*model.DeviceClassificationManufacturerDataType, error)) *DeviceClassificationCommonInterface_GetManufacturerDetails_Call
type DeviceClassificationServerInterface ¶ added in v0.6.0
DeviceClassificationServerInterface is an autogenerated mock type for the DeviceClassificationServerInterface type
func NewDeviceClassificationServerInterface ¶ added in v0.6.0
func NewDeviceClassificationServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceClassificationServerInterface
NewDeviceClassificationServerInterface creates a new instance of DeviceClassificationServerInterface. 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 (*DeviceClassificationServerInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceClassificationServerInterface) EXPECT() *DeviceClassificationServerInterface_Expecter
type DeviceClassificationServerInterface_Expecter ¶ added in v0.6.0
type DeviceClassificationServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type DeviceConfigurationClientInterface ¶ added in v0.6.0
DeviceConfigurationClientInterface is an autogenerated mock type for the DeviceConfigurationClientInterface type
func NewDeviceConfigurationClientInterface ¶ added in v0.6.0
func NewDeviceConfigurationClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceConfigurationClientInterface
NewDeviceConfigurationClientInterface creates a new instance of DeviceConfigurationClientInterface. 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 (*DeviceConfigurationClientInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceConfigurationClientInterface) EXPECT() *DeviceConfigurationClientInterface_Expecter
func (*DeviceConfigurationClientInterface) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForFilter provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForKeyId provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionFoKeyId provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionsForFilter provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) RequestKeyValueDescriptions ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) RequestKeyValueDescriptions(selector *model.DeviceConfigurationKeyValueDescriptionListDataSelectorsType, elements *model.DeviceConfigurationKeyValueDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestKeyValueDescriptions provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) RequestKeyValues ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) RequestKeyValues(selector *model.DeviceConfigurationKeyValueListDataSelectorsType, elements *model.DeviceConfigurationKeyValueDataElementsType) (*model.MsgCounterType, error)
RequestKeyValues provides a mock function for the type DeviceConfigurationClientInterface
func (*DeviceConfigurationClientInterface) WriteKeyValues ¶ added in v0.6.0
func (_mock *DeviceConfigurationClientInterface) WriteKeyValues(data []model.DeviceConfigurationKeyValueDataType) (*model.MsgCounterType, error)
WriteKeyValues provides a mock function for the type DeviceConfigurationClientInterface
type DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) Return ¶ added in v0.6.0
func (*DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
func (*DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
type DeviceConfigurationClientInterface_Expecter ¶ added in v0.6.0
type DeviceConfigurationClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceConfigurationClientInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationClientInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
GetKeyValueDataForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
GetKeyValueDataForKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
GetKeyValueDescriptionFoKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
GetKeyValueDescriptionsForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationClientInterface_Expecter) RequestKeyValueDescriptions ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) RequestKeyValueDescriptions(selector interface{}, elements interface{}) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
RequestKeyValueDescriptions is a helper method to define mock.On call
- selector *model.DeviceConfigurationKeyValueDescriptionListDataSelectorsType
- elements *model.DeviceConfigurationKeyValueDescriptionDataElementsType
func (*DeviceConfigurationClientInterface_Expecter) RequestKeyValues ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) RequestKeyValues(selector interface{}, elements interface{}) *DeviceConfigurationClientInterface_RequestKeyValues_Call
RequestKeyValues is a helper method to define mock.On call
- selector *model.DeviceConfigurationKeyValueListDataSelectorsType
- elements *model.DeviceConfigurationKeyValueDataElementsType
func (*DeviceConfigurationClientInterface_Expecter) WriteKeyValues ¶ added in v0.6.0
func (_e *DeviceConfigurationClientInterface_Expecter) WriteKeyValues(data interface{}) *DeviceConfigurationClientInterface_WriteKeyValues_Call
WriteKeyValues is a helper method to define mock.On call
- data []model.DeviceConfigurationKeyValueDataType
type DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForFilter'
func (*DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call
func (*DeviceConfigurationClientInterface_GetKeyValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForKeyId'
func (*DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
func (*DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(run func(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)) *DeviceConfigurationClientInterface_GetKeyValueDataForKeyId_Call
type DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionFoKeyId'
func (*DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) Return(deviceConfigurationKeyValueDescriptionDataType *model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call
func (*DeviceConfigurationClientInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionsForFilter'
func (*DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) Return(deviceConfigurationKeyValueDescriptionDataTypes []model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
func (*DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (*DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)) *DeviceConfigurationClientInterface_GetKeyValueDescriptionsForFilter_Call
type DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestKeyValueDescriptions'
func (*DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
func (*DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) Run(run func(selector *model.DeviceConfigurationKeyValueDescriptionListDataSelectorsType, elements *model.DeviceConfigurationKeyValueDescriptionDataElementsType)) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
func (*DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call) RunAndReturn(run func(selector *model.DeviceConfigurationKeyValueDescriptionListDataSelectorsType, elements *model.DeviceConfigurationKeyValueDescriptionDataElementsType) (*model.MsgCounterType, error)) *DeviceConfigurationClientInterface_RequestKeyValueDescriptions_Call
type DeviceConfigurationClientInterface_RequestKeyValues_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_RequestKeyValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestKeyValues'
func (*DeviceConfigurationClientInterface_RequestKeyValues_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_RequestKeyValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_RequestKeyValues_Call
func (*DeviceConfigurationClientInterface_RequestKeyValues_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_RequestKeyValues_Call) RunAndReturn(run func(selector *model.DeviceConfigurationKeyValueListDataSelectorsType, elements *model.DeviceConfigurationKeyValueDataElementsType) (*model.MsgCounterType, error)) *DeviceConfigurationClientInterface_RequestKeyValues_Call
type DeviceConfigurationClientInterface_WriteKeyValues_Call ¶ added in v0.6.0
DeviceConfigurationClientInterface_WriteKeyValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteKeyValues'
func (*DeviceConfigurationClientInterface_WriteKeyValues_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceConfigurationClientInterface_WriteKeyValues_Call
func (*DeviceConfigurationClientInterface_WriteKeyValues_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) Run(run func(data []model.DeviceConfigurationKeyValueDataType)) *DeviceConfigurationClientInterface_WriteKeyValues_Call
func (*DeviceConfigurationClientInterface_WriteKeyValues_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationClientInterface_WriteKeyValues_Call) RunAndReturn(run func(data []model.DeviceConfigurationKeyValueDataType) (*model.MsgCounterType, error)) *DeviceConfigurationClientInterface_WriteKeyValues_Call
type DeviceConfigurationCommonInterface ¶ added in v0.6.0
DeviceConfigurationCommonInterface is an autogenerated mock type for the DeviceConfigurationCommonInterface type
func NewDeviceConfigurationCommonInterface ¶ added in v0.6.0
func NewDeviceConfigurationCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceConfigurationCommonInterface
NewDeviceConfigurationCommonInterface creates a new instance of DeviceConfigurationCommonInterface. 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 (*DeviceConfigurationCommonInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type DeviceConfigurationCommonInterface
func (*DeviceConfigurationCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceConfigurationCommonInterface) EXPECT() *DeviceConfigurationCommonInterface_Expecter
func (*DeviceConfigurationCommonInterface) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForFilter provides a mock function for the type DeviceConfigurationCommonInterface
func (*DeviceConfigurationCommonInterface) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForKeyId provides a mock function for the type DeviceConfigurationCommonInterface
func (*DeviceConfigurationCommonInterface) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionFoKeyId provides a mock function for the type DeviceConfigurationCommonInterface
func (*DeviceConfigurationCommonInterface) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationCommonInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionsForFilter provides a mock function for the type DeviceConfigurationCommonInterface
type DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) Return ¶ added in v0.6.0
func (*DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
func (*DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
type DeviceConfigurationCommonInterface_Expecter ¶ added in v0.6.0
type DeviceConfigurationCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceConfigurationCommonInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationCommonInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
GetKeyValueDataForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
GetKeyValueDataForKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
GetKeyValueDescriptionFoKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationCommonInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
GetKeyValueDescriptionsForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
type DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForFilter'
func (*DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call
func (*DeviceConfigurationCommonInterface_GetKeyValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call ¶ added in v0.6.0
DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForKeyId'
func (*DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
func (*DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(run func(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)) *DeviceConfigurationCommonInterface_GetKeyValueDataForKeyId_Call
type DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call ¶ added in v0.6.0
DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionFoKeyId'
func (*DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) Return(deviceConfigurationKeyValueDescriptionDataType *model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call
func (*DeviceConfigurationCommonInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call ¶ added in v0.6.0
DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionsForFilter'
func (*DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) Return(deviceConfigurationKeyValueDescriptionDataTypes []model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
func (*DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (*DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)) *DeviceConfigurationCommonInterface_GetKeyValueDescriptionsForFilter_Call
type DeviceConfigurationServerInterface ¶ added in v0.6.0
DeviceConfigurationServerInterface is an autogenerated mock type for the DeviceConfigurationServerInterface type
func NewDeviceConfigurationServerInterface ¶ added in v0.6.0
func NewDeviceConfigurationServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceConfigurationServerInterface
NewDeviceConfigurationServerInterface creates a new instance of DeviceConfigurationServerInterface. 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 (*DeviceConfigurationServerInterface) AddKeyValueDescription ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) AddKeyValueDescription(description model.DeviceConfigurationKeyValueDescriptionDataType) *model.DeviceConfigurationKeyIdType
AddKeyValueDescription provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceConfigurationServerInterface) EXPECT() *DeviceConfigurationServerInterface_Expecter
func (*DeviceConfigurationServerInterface) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) GetKeyValueDataForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForFilter provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) GetKeyValueDataForKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)
GetKeyValueDataForKeyId provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) GetKeyValueDescriptionFoKeyId(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionFoKeyId provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) GetKeyValueDescriptionsForFilter(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)
GetKeyValueDescriptionsForFilter provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) UpdateKeyValueDataForFilter ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) UpdateKeyValueDataForFilter(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, filter model.DeviceConfigurationKeyValueDescriptionDataType) error
UpdateKeyValueDataForFilter provides a mock function for the type DeviceConfigurationServerInterface
func (*DeviceConfigurationServerInterface) UpdateKeyValueDataForKeyId ¶ added in v0.6.0
func (_mock *DeviceConfigurationServerInterface) UpdateKeyValueDataForKeyId(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, keyId model.DeviceConfigurationKeyIdType) error
UpdateKeyValueDataForKeyId provides a mock function for the type DeviceConfigurationServerInterface
type DeviceConfigurationServerInterface_AddKeyValueDescription_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_AddKeyValueDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddKeyValueDescription'
func (*DeviceConfigurationServerInterface_AddKeyValueDescription_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_AddKeyValueDescription_Call) Return(deviceConfigurationKeyIdType *model.DeviceConfigurationKeyIdType) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
func (*DeviceConfigurationServerInterface_AddKeyValueDescription_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_AddKeyValueDescription_Call) RunAndReturn(run func(description model.DeviceConfigurationKeyValueDescriptionDataType) *model.DeviceConfigurationKeyIdType) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
type DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) Return ¶ added in v0.6.0
func (*DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
func (*DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
type DeviceConfigurationServerInterface_Expecter ¶ added in v0.6.0
type DeviceConfigurationServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceConfigurationServerInterface_Expecter) AddKeyValueDescription ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) AddKeyValueDescription(description interface{}) *DeviceConfigurationServerInterface_AddKeyValueDescription_Call
AddKeyValueDescription is a helper method to define mock.On call
- description model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationServerInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *DeviceConfigurationServerInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForFilter(filter interface{}) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
GetKeyValueDataForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDataForKeyId(keyId interface{}) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
GetKeyValueDataForKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionFoKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionFoKeyId(keyId interface{}) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
GetKeyValueDescriptionFoKeyId is a helper method to define mock.On call
- keyId model.DeviceConfigurationKeyIdType
func (*DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionsForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) GetKeyValueDescriptionsForFilter(filter interface{}) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
GetKeyValueDescriptionsForFilter is a helper method to define mock.On call
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForFilter ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForFilter(data interface{}, deleteElements interface{}, filter interface{}) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
UpdateKeyValueDataForFilter is a helper method to define mock.On call
- data model.DeviceConfigurationKeyValueDataType
- deleteElements *model.DeviceConfigurationKeyValueDataElementsType
- filter model.DeviceConfigurationKeyValueDescriptionDataType
func (*DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForKeyId ¶ added in v0.6.0
func (_e *DeviceConfigurationServerInterface_Expecter) UpdateKeyValueDataForKeyId(data interface{}, deleteElements interface{}, keyId interface{}) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
UpdateKeyValueDataForKeyId is a helper method to define mock.On call
- data model.DeviceConfigurationKeyValueDataType
- deleteElements *model.DeviceConfigurationKeyValueDataElementsType
- keyId model.DeviceConfigurationKeyIdType
type DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForFilter'
func (*DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call
func (*DeviceConfigurationServerInterface_GetKeyValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDataForKeyId'
func (*DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) Return(deviceConfigurationKeyValueDataType *model.DeviceConfigurationKeyValueDataType, err error) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
func (*DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call) RunAndReturn(run func(keyId model.DeviceConfigurationKeyIdType) (*model.DeviceConfigurationKeyValueDataType, error)) *DeviceConfigurationServerInterface_GetKeyValueDataForKeyId_Call
type DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionFoKeyId'
func (*DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) Return(deviceConfigurationKeyValueDescriptionDataType *model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call
func (*DeviceConfigurationServerInterface_GetKeyValueDescriptionFoKeyId_Call) RunAndReturn ¶ added in v0.6.0
type DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKeyValueDescriptionsForFilter'
func (*DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) Return(deviceConfigurationKeyValueDescriptionDataTypes []model.DeviceConfigurationKeyValueDescriptionDataType, err error) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
func (*DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (*DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call) RunAndReturn(run func(filter model.DeviceConfigurationKeyValueDescriptionDataType) ([]model.DeviceConfigurationKeyValueDescriptionDataType, error)) *DeviceConfigurationServerInterface_GetKeyValueDescriptionsForFilter_Call
type DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateKeyValueDataForFilter'
func (*DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) Return ¶ added in v0.6.0
func (*DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) Run(run func(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, filter model.DeviceConfigurationKeyValueDescriptionDataType)) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
func (*DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call) RunAndReturn(run func(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, filter model.DeviceConfigurationKeyValueDescriptionDataType) error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForFilter_Call
type DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call ¶ added in v0.6.0
DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateKeyValueDataForKeyId'
func (*DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) Run ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) Run(run func(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, keyId model.DeviceConfigurationKeyIdType)) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
func (*DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call) RunAndReturn(run func(data model.DeviceConfigurationKeyValueDataType, deleteElements *model.DeviceConfigurationKeyValueDataElementsType, keyId model.DeviceConfigurationKeyIdType) error) *DeviceConfigurationServerInterface_UpdateKeyValueDataForKeyId_Call
type DeviceDiagnosisClientInterface ¶ added in v0.6.0
DeviceDiagnosisClientInterface is an autogenerated mock type for the DeviceDiagnosisClientInterface type
func NewDeviceDiagnosisClientInterface ¶ added in v0.6.0
func NewDeviceDiagnosisClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceDiagnosisClientInterface
NewDeviceDiagnosisClientInterface creates a new instance of DeviceDiagnosisClientInterface. 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 (*DeviceDiagnosisClientInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceDiagnosisClientInterface) EXPECT() *DeviceDiagnosisClientInterface_Expecter
func (*DeviceDiagnosisClientInterface) RequestHeartbeat ¶ added in v0.6.0
func (_mock *DeviceDiagnosisClientInterface) RequestHeartbeat() (*model.MsgCounterType, error)
RequestHeartbeat provides a mock function for the type DeviceDiagnosisClientInterface
func (*DeviceDiagnosisClientInterface) RequestState ¶ added in v0.6.0
func (_mock *DeviceDiagnosisClientInterface) RequestState() (*model.MsgCounterType, error)
RequestState provides a mock function for the type DeviceDiagnosisClientInterface
type DeviceDiagnosisClientInterface_Expecter ¶ added in v0.6.0
type DeviceDiagnosisClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceDiagnosisClientInterface_Expecter) RequestHeartbeat ¶ added in v0.6.0
func (_e *DeviceDiagnosisClientInterface_Expecter) RequestHeartbeat() *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
RequestHeartbeat is a helper method to define mock.On call
func (*DeviceDiagnosisClientInterface_Expecter) RequestState ¶ added in v0.6.0
func (_e *DeviceDiagnosisClientInterface_Expecter) RequestState() *DeviceDiagnosisClientInterface_RequestState_Call
RequestState is a helper method to define mock.On call
type DeviceDiagnosisClientInterface_RequestHeartbeat_Call ¶ added in v0.6.0
DeviceDiagnosisClientInterface_RequestHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestHeartbeat'
func (*DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Return ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
func (*DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Run ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) Run(run func()) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
func (*DeviceDiagnosisClientInterface_RequestHeartbeat_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestHeartbeat_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceDiagnosisClientInterface_RequestHeartbeat_Call
type DeviceDiagnosisClientInterface_RequestState_Call ¶ added in v0.6.0
DeviceDiagnosisClientInterface_RequestState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestState'
func (*DeviceDiagnosisClientInterface_RequestState_Call) Return ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestState_Call) Return(msgCounterType *model.MsgCounterType, err error) *DeviceDiagnosisClientInterface_RequestState_Call
func (*DeviceDiagnosisClientInterface_RequestState_Call) Run ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestState_Call) Run(run func()) *DeviceDiagnosisClientInterface_RequestState_Call
func (*DeviceDiagnosisClientInterface_RequestState_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceDiagnosisClientInterface_RequestState_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *DeviceDiagnosisClientInterface_RequestState_Call
type DeviceDiagnosisCommonInterface ¶ added in v0.6.0
DeviceDiagnosisCommonInterface is an autogenerated mock type for the DeviceDiagnosisCommonInterface type
func NewDeviceDiagnosisCommonInterface ¶ added in v0.6.0
func NewDeviceDiagnosisCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceDiagnosisCommonInterface
NewDeviceDiagnosisCommonInterface creates a new instance of DeviceDiagnosisCommonInterface. 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 (*DeviceDiagnosisCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceDiagnosisCommonInterface) EXPECT() *DeviceDiagnosisCommonInterface_Expecter
func (*DeviceDiagnosisCommonInterface) GetState ¶ added in v0.6.0
func (_mock *DeviceDiagnosisCommonInterface) GetState() (*model.DeviceDiagnosisStateDataType, error)
GetState provides a mock function for the type DeviceDiagnosisCommonInterface
func (*DeviceDiagnosisCommonInterface) IsHeartbeatWithinDuration ¶ added in v0.6.0
func (_mock *DeviceDiagnosisCommonInterface) IsHeartbeatWithinDuration(duration time.Duration) bool
IsHeartbeatWithinDuration provides a mock function for the type DeviceDiagnosisCommonInterface
type DeviceDiagnosisCommonInterface_Expecter ¶ added in v0.6.0
type DeviceDiagnosisCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceDiagnosisCommonInterface_Expecter) GetState ¶ added in v0.6.0
func (_e *DeviceDiagnosisCommonInterface_Expecter) GetState() *DeviceDiagnosisCommonInterface_GetState_Call
GetState is a helper method to define mock.On call
func (*DeviceDiagnosisCommonInterface_Expecter) IsHeartbeatWithinDuration ¶ added in v0.6.0
func (_e *DeviceDiagnosisCommonInterface_Expecter) IsHeartbeatWithinDuration(duration interface{}) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
- duration time.Duration
type DeviceDiagnosisCommonInterface_GetState_Call ¶ added in v0.6.0
DeviceDiagnosisCommonInterface_GetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetState'
func (*DeviceDiagnosisCommonInterface_GetState_Call) Return ¶ added in v0.6.0
func (_c *DeviceDiagnosisCommonInterface_GetState_Call) Return(deviceDiagnosisStateDataType *model.DeviceDiagnosisStateDataType, err error) *DeviceDiagnosisCommonInterface_GetState_Call
func (*DeviceDiagnosisCommonInterface_GetState_Call) Run ¶ added in v0.6.0
func (_c *DeviceDiagnosisCommonInterface_GetState_Call) Run(run func()) *DeviceDiagnosisCommonInterface_GetState_Call
func (*DeviceDiagnosisCommonInterface_GetState_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceDiagnosisCommonInterface_GetState_Call) RunAndReturn(run func() (*model.DeviceDiagnosisStateDataType, error)) *DeviceDiagnosisCommonInterface_GetState_Call
type DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call ¶ added in v0.6.0
DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) Run ¶ added in v0.6.0
func (_c *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) Run(run func(duration time.Duration)) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
func (*DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(duration time.Duration) bool) *DeviceDiagnosisCommonInterface_IsHeartbeatWithinDuration_Call
type DeviceDiagnosisServerInterface ¶ added in v0.6.0
DeviceDiagnosisServerInterface is an autogenerated mock type for the DeviceDiagnosisServerInterface type
func NewDeviceDiagnosisServerInterface ¶ added in v0.6.0
func NewDeviceDiagnosisServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *DeviceDiagnosisServerInterface
NewDeviceDiagnosisServerInterface creates a new instance of DeviceDiagnosisServerInterface. 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 (*DeviceDiagnosisServerInterface) EXPECT ¶ added in v0.6.0
func (_m *DeviceDiagnosisServerInterface) EXPECT() *DeviceDiagnosisServerInterface_Expecter
func (*DeviceDiagnosisServerInterface) SetLocalOperatingState ¶ added in v0.8.0
func (_mock *DeviceDiagnosisServerInterface) SetLocalOperatingState(operatingState model.DeviceDiagnosisOperatingStateType)
SetLocalOperatingState provides a mock function for the type DeviceDiagnosisServerInterface
func (*DeviceDiagnosisServerInterface) SetLocalState ¶ added in v0.6.0
func (_mock *DeviceDiagnosisServerInterface) SetLocalState(statetate *model.DeviceDiagnosisStateDataType)
SetLocalState provides a mock function for the type DeviceDiagnosisServerInterface
type DeviceDiagnosisServerInterface_Expecter ¶ added in v0.6.0
type DeviceDiagnosisServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DeviceDiagnosisServerInterface_Expecter) SetLocalOperatingState ¶ added in v0.8.0
func (_e *DeviceDiagnosisServerInterface_Expecter) SetLocalOperatingState(operatingState interface{}) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
SetLocalOperatingState is a helper method to define mock.On call
- operatingState model.DeviceDiagnosisOperatingStateType
func (*DeviceDiagnosisServerInterface_Expecter) SetLocalState ¶ added in v0.6.0
func (_e *DeviceDiagnosisServerInterface_Expecter) SetLocalState(statetate interface{}) *DeviceDiagnosisServerInterface_SetLocalState_Call
SetLocalState is a helper method to define mock.On call
- statetate *model.DeviceDiagnosisStateDataType
type DeviceDiagnosisServerInterface_SetLocalOperatingState_Call ¶ added in v0.8.0
DeviceDiagnosisServerInterface_SetLocalOperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLocalOperatingState'
func (*DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) Run ¶ added in v0.8.0
func (_c *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) Run(run func(operatingState model.DeviceDiagnosisOperatingStateType)) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
func (*DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) RunAndReturn ¶ added in v0.8.0
func (_c *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call) RunAndReturn(run func(operatingState model.DeviceDiagnosisOperatingStateType)) *DeviceDiagnosisServerInterface_SetLocalOperatingState_Call
type DeviceDiagnosisServerInterface_SetLocalState_Call ¶ added in v0.6.0
DeviceDiagnosisServerInterface_SetLocalState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLocalState'
func (*DeviceDiagnosisServerInterface_SetLocalState_Call) Run ¶ added in v0.6.0
func (_c *DeviceDiagnosisServerInterface_SetLocalState_Call) Run(run func(statetate *model.DeviceDiagnosisStateDataType)) *DeviceDiagnosisServerInterface_SetLocalState_Call
func (*DeviceDiagnosisServerInterface_SetLocalState_Call) RunAndReturn ¶ added in v0.6.0
func (_c *DeviceDiagnosisServerInterface_SetLocalState_Call) RunAndReturn(run func(statetate *model.DeviceDiagnosisStateDataType)) *DeviceDiagnosisServerInterface_SetLocalState_Call
type ElectricalConnectionClientInterface ¶ added in v0.6.0
ElectricalConnectionClientInterface is an autogenerated mock type for the ElectricalConnectionClientInterface type
func NewElectricalConnectionClientInterface ¶ added in v0.6.0
func NewElectricalConnectionClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ElectricalConnectionClientInterface
NewElectricalConnectionClientInterface creates a new instance of ElectricalConnectionClientInterface. 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 (*ElectricalConnectionClientInterface) EXPECT ¶ added in v0.6.0
func (_m *ElectricalConnectionClientInterface) EXPECT() *ElectricalConnectionClientInterface_Expecter
func (*ElectricalConnectionClientInterface) RequestCharacteristics ¶ added in v0.6.0
func (_mock *ElectricalConnectionClientInterface) RequestCharacteristics(selector *model.ElectricalConnectionCharacteristicListDataSelectorsType, elements *model.ElectricalConnectionCharacteristicDataElementsType) (*model.MsgCounterType, error)
RequestCharacteristics provides a mock function for the type ElectricalConnectionClientInterface
func (*ElectricalConnectionClientInterface) RequestDescriptions ¶ added in v0.6.0
func (_mock *ElectricalConnectionClientInterface) RequestDescriptions(selector *model.ElectricalConnectionDescriptionListDataSelectorsType, elements *model.ElectricalConnectionDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestDescriptions provides a mock function for the type ElectricalConnectionClientInterface
func (*ElectricalConnectionClientInterface) RequestParameterDescriptions ¶ added in v0.6.0
func (_mock *ElectricalConnectionClientInterface) RequestParameterDescriptions(selector *model.ElectricalConnectionParameterDescriptionListDataSelectorsType, elements *model.ElectricalConnectionParameterDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestParameterDescriptions provides a mock function for the type ElectricalConnectionClientInterface
func (*ElectricalConnectionClientInterface) RequestPermittedValueSets ¶ added in v0.6.0
func (_mock *ElectricalConnectionClientInterface) RequestPermittedValueSets(selector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, elements *model.ElectricalConnectionPermittedValueSetDataElementsType) (*model.MsgCounterType, error)
RequestPermittedValueSets provides a mock function for the type ElectricalConnectionClientInterface
type ElectricalConnectionClientInterface_Expecter ¶ added in v0.6.0
type ElectricalConnectionClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ElectricalConnectionClientInterface_Expecter) RequestCharacteristics ¶ added in v0.6.0
func (_e *ElectricalConnectionClientInterface_Expecter) RequestCharacteristics(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
RequestCharacteristics is a helper method to define mock.On call
- selector *model.ElectricalConnectionCharacteristicListDataSelectorsType
- elements *model.ElectricalConnectionCharacteristicDataElementsType
func (*ElectricalConnectionClientInterface_Expecter) RequestDescriptions ¶ added in v0.6.0
func (_e *ElectricalConnectionClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestDescriptions_Call
RequestDescriptions is a helper method to define mock.On call
- selector *model.ElectricalConnectionDescriptionListDataSelectorsType
- elements *model.ElectricalConnectionDescriptionDataElementsType
func (*ElectricalConnectionClientInterface_Expecter) RequestParameterDescriptions ¶ added in v0.6.0
func (_e *ElectricalConnectionClientInterface_Expecter) RequestParameterDescriptions(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
RequestParameterDescriptions is a helper method to define mock.On call
- selector *model.ElectricalConnectionParameterDescriptionListDataSelectorsType
- elements *model.ElectricalConnectionParameterDescriptionDataElementsType
func (*ElectricalConnectionClientInterface_Expecter) RequestPermittedValueSets ¶ added in v0.6.0
func (_e *ElectricalConnectionClientInterface_Expecter) RequestPermittedValueSets(selector interface{}, elements interface{}) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
RequestPermittedValueSets is a helper method to define mock.On call
- selector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType
- elements *model.ElectricalConnectionPermittedValueSetDataElementsType
type ElectricalConnectionClientInterface_RequestCharacteristics_Call ¶ added in v0.6.0
ElectricalConnectionClientInterface_RequestCharacteristics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestCharacteristics'
func (*ElectricalConnectionClientInterface_RequestCharacteristics_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestCharacteristics_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
func (*ElectricalConnectionClientInterface_RequestCharacteristics_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestCharacteristics_Call) RunAndReturn(run func(selector *model.ElectricalConnectionCharacteristicListDataSelectorsType, elements *model.ElectricalConnectionCharacteristicDataElementsType) (*model.MsgCounterType, error)) *ElectricalConnectionClientInterface_RequestCharacteristics_Call
type ElectricalConnectionClientInterface_RequestDescriptions_Call ¶ added in v0.6.0
ElectricalConnectionClientInterface_RequestDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestDescriptions'
func (*ElectricalConnectionClientInterface_RequestDescriptions_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestDescriptions_Call
func (*ElectricalConnectionClientInterface_RequestDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestDescriptions_Call) RunAndReturn(run func(selector *model.ElectricalConnectionDescriptionListDataSelectorsType, elements *model.ElectricalConnectionDescriptionDataElementsType) (*model.MsgCounterType, error)) *ElectricalConnectionClientInterface_RequestDescriptions_Call
type ElectricalConnectionClientInterface_RequestParameterDescriptions_Call ¶ added in v0.6.0
ElectricalConnectionClientInterface_RequestParameterDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestParameterDescriptions'
func (*ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
func (*ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) Run(run func(selector *model.ElectricalConnectionParameterDescriptionListDataSelectorsType, elements *model.ElectricalConnectionParameterDescriptionDataElementsType)) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
func (*ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call) RunAndReturn(run func(selector *model.ElectricalConnectionParameterDescriptionListDataSelectorsType, elements *model.ElectricalConnectionParameterDescriptionDataElementsType) (*model.MsgCounterType, error)) *ElectricalConnectionClientInterface_RequestParameterDescriptions_Call
type ElectricalConnectionClientInterface_RequestPermittedValueSets_Call ¶ added in v0.6.0
ElectricalConnectionClientInterface_RequestPermittedValueSets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestPermittedValueSets'
func (*ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Return(msgCounterType *model.MsgCounterType, err error) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
func (*ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) Run(run func(selector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, elements *model.ElectricalConnectionPermittedValueSetDataElementsType)) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
func (*ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call) RunAndReturn(run func(selector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, elements *model.ElectricalConnectionPermittedValueSetDataElementsType) (*model.MsgCounterType, error)) *ElectricalConnectionClientInterface_RequestPermittedValueSets_Call
type ElectricalConnectionCommonInterface ¶ added in v0.6.0
ElectricalConnectionCommonInterface is an autogenerated mock type for the ElectricalConnectionCommonInterface type
func NewElectricalConnectionCommonInterface ¶ added in v0.6.0
func NewElectricalConnectionCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ElectricalConnectionCommonInterface
NewElectricalConnectionCommonInterface creates a new instance of ElectricalConnectionCommonInterface. 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 (*ElectricalConnectionCommonInterface) AdjustValueToBeWithinPermittedValuesForParameterId ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) AdjustValueToBeWithinPermittedValuesForParameterId(value float64, parameterId model.ElectricalConnectionParameterIdType) float64
AdjustValueToBeWithinPermittedValuesForParameterId provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *ElectricalConnectionCommonInterface) EXPECT() *ElectricalConnectionCommonInterface_Expecter
func (*ElectricalConnectionCommonInterface) GetCharacteristicsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetCharacteristicsForFilter(filter model.ElectricalConnectionCharacteristicDataType) ([]model.ElectricalConnectionCharacteristicDataType, error)
GetCharacteristicsForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetDescriptionForParameterDescriptionFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetDescriptionForParameterDescriptionFilter(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)
GetDescriptionForParameterDescriptionFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetDescriptionsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetDescriptionsForFilter(filter model.ElectricalConnectionDescriptionDataType) ([]model.ElectricalConnectionDescriptionDataType, error)
GetDescriptionsForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetParameterDescriptionsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetParameterDescriptionsForFilter(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)
GetParameterDescriptionsForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetPermittedValueDataForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetPermittedValueDataForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)
GetPermittedValueDataForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetPermittedValueSetForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetPermittedValueSetForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) ([]model.ElectricalConnectionPermittedValueSetDataType, error)
GetPermittedValueSetForFilter provides a mock function for the type ElectricalConnectionCommonInterface
func (*ElectricalConnectionCommonInterface) GetPhaseCurrentLimits ¶ added in v0.6.0
func (_mock *ElectricalConnectionCommonInterface) GetPhaseCurrentLimits(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)
GetPhaseCurrentLimits provides a mock function for the type ElectricalConnectionCommonInterface
type ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call struct {
*mock.Call
}
ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdjustValueToBeWithinPermittedValuesForParameterId'
func (*ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn(run func(value float64, parameterId model.ElectricalConnectionParameterIdType) float64) *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
type ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
func (*ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
type ElectricalConnectionCommonInterface_Expecter ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ElectricalConnectionCommonInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId(value interface{}, parameterId interface{}) *ElectricalConnectionCommonInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
AdjustValueToBeWithinPermittedValuesForParameterId is a helper method to define mock.On call
- value float64
- parameterId model.ElectricalConnectionParameterIdType
func (*ElectricalConnectionCommonInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *ElectricalConnectionCommonInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*ElectricalConnectionCommonInterface_Expecter) GetCharacteristicsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetCharacteristicsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
GetCharacteristicsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionCharacteristicDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetDescriptionForParameterDescriptionFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetDescriptionForParameterDescriptionFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call
GetDescriptionForParameterDescriptionFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionParameterDescriptionDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetDescriptionsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
GetDescriptionsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionDescriptionDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetParameterDescriptionsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetParameterDescriptionsForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
GetParameterDescriptionsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionParameterDescriptionDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetPermittedValueDataForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetPermittedValueDataForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
GetPermittedValueDataForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionPermittedValueSetDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetPermittedValueSetForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetPermittedValueSetForFilter(filter interface{}) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
GetPermittedValueSetForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionPermittedValueSetDataType
func (*ElectricalConnectionCommonInterface_Expecter) GetPhaseCurrentLimits ¶ added in v0.6.0
func (_e *ElectricalConnectionCommonInterface_Expecter) GetPhaseCurrentLimits(measDesc interface{}) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
GetPhaseCurrentLimits is a helper method to define mock.On call
- measDesc []model.MeasurementDescriptionDataType
type ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCharacteristicsForFilter'
func (*ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) Return(electricalConnectionCharacteristicDataTypes []model.ElectricalConnectionCharacteristicDataType, err error) *ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call
func (*ElectricalConnectionCommonInterface_GetCharacteristicsForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call struct {
*mock.Call
}
ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionForParameterDescriptionFilter'
func (*ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) Return(electricalConnectionDescriptionDataType *model.ElectricalConnectionDescriptionDataType, err error) *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call
func (*ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)) *ElectricalConnectionCommonInterface_GetDescriptionForParameterDescriptionFilter_Call
type ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionsForFilter'
func (*ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) Return(electricalConnectionDescriptionDataTypes []model.ElectricalConnectionDescriptionDataType, err error) *ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call
func (*ElectricalConnectionCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call struct {
*mock.Call
}
ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameterDescriptionsForFilter'
func (*ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) Return(electricalConnectionParameterDescriptionDataTypes []model.ElectricalConnectionParameterDescriptionDataType, err error) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
func (*ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)) *ElectricalConnectionCommonInterface_GetParameterDescriptionsForFilter_Call
type ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermittedValueDataForFilter'
func (*ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)) *ElectricalConnectionCommonInterface_GetPermittedValueDataForFilter_Call
type ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermittedValueSetForFilter'
func (*ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) Return(electricalConnectionPermittedValueSetDataTypes []model.ElectricalConnectionPermittedValueSetDataType, err error) *ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call
func (*ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionCommonInterface_GetPermittedValueSetForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call ¶ added in v0.6.0
ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPhaseCurrentLimits'
func (*ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Return(resultMin map[model.ElectricalConnectionPhaseNameType]float64, resultMax map[model.ElectricalConnectionPhaseNameType]float64, resultDefault map[model.ElectricalConnectionPhaseNameType]float64, resultErr error) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
func (*ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) Run(run func(measDesc []model.MeasurementDescriptionDataType)) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
func (*ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call) RunAndReturn(run func(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)) *ElectricalConnectionCommonInterface_GetPhaseCurrentLimits_Call
type ElectricalConnectionServerInterface ¶ added in v0.6.0
ElectricalConnectionServerInterface is an autogenerated mock type for the ElectricalConnectionServerInterface type
func NewElectricalConnectionServerInterface ¶ added in v0.6.0
func NewElectricalConnectionServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ElectricalConnectionServerInterface
NewElectricalConnectionServerInterface creates a new instance of ElectricalConnectionServerInterface. 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 (*ElectricalConnectionServerInterface) AddCharacteristic ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) AddCharacteristic(data model.ElectricalConnectionCharacteristicDataType) (*model.ElectricalConnectionCharacteristicIdType, error)
AddCharacteristic provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) AddDescription ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) AddDescription(description model.ElectricalConnectionDescriptionDataType) error
AddDescription provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) AddParameterDescription ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) AddParameterDescription(description model.ElectricalConnectionParameterDescriptionDataType) *model.ElectricalConnectionParameterIdType
AddParameterDescription provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) AdjustValueToBeWithinPermittedValuesForParameterId ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) AdjustValueToBeWithinPermittedValuesForParameterId(value float64, parameterId model.ElectricalConnectionParameterIdType) float64
AdjustValueToBeWithinPermittedValuesForParameterId provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) EXPECT ¶ added in v0.6.0
func (_m *ElectricalConnectionServerInterface) EXPECT() *ElectricalConnectionServerInterface_Expecter
func (*ElectricalConnectionServerInterface) GetCharacteristicsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetCharacteristicsForFilter(filter model.ElectricalConnectionCharacteristicDataType) ([]model.ElectricalConnectionCharacteristicDataType, error)
GetCharacteristicsForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetDescriptionForParameterDescriptionFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetDescriptionForParameterDescriptionFilter(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)
GetDescriptionForParameterDescriptionFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetDescriptionsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetDescriptionsForFilter(filter model.ElectricalConnectionDescriptionDataType) ([]model.ElectricalConnectionDescriptionDataType, error)
GetDescriptionsForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetOrAddIdForDescription ¶ added in v0.8.0
func (_mock *ElectricalConnectionServerInterface) GetOrAddIdForDescription(electricalConnectionDescription model.ElectricalConnectionDescriptionDataType) (*model.ElectricalConnectionIdType, error)
GetOrAddIdForDescription provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetParameterDescriptionsForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetParameterDescriptionsForFilter(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)
GetParameterDescriptionsForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetPermittedValueDataForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetPermittedValueDataForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)
GetPermittedValueDataForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetPermittedValueSetForFilter ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetPermittedValueSetForFilter(filter model.ElectricalConnectionPermittedValueSetDataType) ([]model.ElectricalConnectionPermittedValueSetDataType, error)
GetPermittedValueSetForFilter provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) GetPhaseCurrentLimits ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) GetPhaseCurrentLimits(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)
GetPhaseCurrentLimits provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) UpdateCharacteristic ¶ added in v0.6.0
func (_mock *ElectricalConnectionServerInterface) UpdateCharacteristic(data model.ElectricalConnectionCharacteristicDataType, deleteElements *model.ElectricalConnectionCharacteristicDataElementsType) error
UpdateCharacteristic provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) UpdatePermittedValueSetForFilters ¶ added in v0.8.0
func (_mock *ElectricalConnectionServerInterface) UpdatePermittedValueSetForFilters(data []api.ElectricalConnectionPermittedValueSetForFilter, deleteSelector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, deleteElements *model.ElectricalConnectionPermittedValueSetDataElementsType) error
UpdatePermittedValueSetForFilters provides a mock function for the type ElectricalConnectionServerInterface
func (*ElectricalConnectionServerInterface) UpdatePermittedValueSetForIds ¶ added in v0.8.0
func (_mock *ElectricalConnectionServerInterface) UpdatePermittedValueSetForIds(data []api.ElectricalConnectionPermittedValueSetForID) error
UpdatePermittedValueSetForIds provides a mock function for the type ElectricalConnectionServerInterface
type ElectricalConnectionServerInterface_AddCharacteristic_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_AddCharacteristic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCharacteristic'
func (*ElectricalConnectionServerInterface_AddCharacteristic_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_AddCharacteristic_Call) Return(electricalConnectionCharacteristicIdType *model.ElectricalConnectionCharacteristicIdType, err error) *ElectricalConnectionServerInterface_AddCharacteristic_Call
func (*ElectricalConnectionServerInterface_AddCharacteristic_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionServerInterface_AddDescription_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_AddDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDescription'
func (*ElectricalConnectionServerInterface_AddDescription_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_AddDescription_Call) Run(run func(description model.ElectricalConnectionDescriptionDataType)) *ElectricalConnectionServerInterface_AddDescription_Call
func (*ElectricalConnectionServerInterface_AddDescription_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_AddDescription_Call) RunAndReturn(run func(description model.ElectricalConnectionDescriptionDataType) error) *ElectricalConnectionServerInterface_AddDescription_Call
type ElectricalConnectionServerInterface_AddParameterDescription_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_AddParameterDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddParameterDescription'
func (*ElectricalConnectionServerInterface_AddParameterDescription_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_AddParameterDescription_Call) Return(electricalConnectionParameterIdType *model.ElectricalConnectionParameterIdType) *ElectricalConnectionServerInterface_AddParameterDescription_Call
func (*ElectricalConnectionServerInterface_AddParameterDescription_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call ¶ added in v0.6.0
type ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call struct {
*mock.Call
}
ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdjustValueToBeWithinPermittedValuesForParameterId'
func (*ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call) RunAndReturn(run func(value float64, parameterId model.ElectricalConnectionParameterIdType) float64) *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
type ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
func (*ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
type ElectricalConnectionServerInterface_Expecter ¶ added in v0.6.0
type ElectricalConnectionServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ElectricalConnectionServerInterface_Expecter) AddCharacteristic ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) AddCharacteristic(data interface{}) *ElectricalConnectionServerInterface_AddCharacteristic_Call
AddCharacteristic is a helper method to define mock.On call
- data model.ElectricalConnectionCharacteristicDataType
func (*ElectricalConnectionServerInterface_Expecter) AddDescription ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) AddDescription(description interface{}) *ElectricalConnectionServerInterface_AddDescription_Call
AddDescription is a helper method to define mock.On call
- description model.ElectricalConnectionDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) AddParameterDescription ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) AddParameterDescription(description interface{}) *ElectricalConnectionServerInterface_AddParameterDescription_Call
AddParameterDescription is a helper method to define mock.On call
- description model.ElectricalConnectionParameterDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) AdjustValueToBeWithinPermittedValuesForParameterId(value interface{}, parameterId interface{}) *ElectricalConnectionServerInterface_AdjustValueToBeWithinPermittedValuesForParameterId_Call
AdjustValueToBeWithinPermittedValuesForParameterId is a helper method to define mock.On call
- value float64
- parameterId model.ElectricalConnectionParameterIdType
func (*ElectricalConnectionServerInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *ElectricalConnectionServerInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*ElectricalConnectionServerInterface_Expecter) GetCharacteristicsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetCharacteristicsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
GetCharacteristicsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionCharacteristicDataType
func (*ElectricalConnectionServerInterface_Expecter) GetDescriptionForParameterDescriptionFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetDescriptionForParameterDescriptionFilter(filter interface{}) *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call
GetDescriptionForParameterDescriptionFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionParameterDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) GetDescriptionsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
GetDescriptionsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) GetOrAddIdForDescription ¶ added in v0.8.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetOrAddIdForDescription(electricalConnectionDescription interface{}) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
GetOrAddIdForDescription is a helper method to define mock.On call
- electricalConnectionDescription model.ElectricalConnectionDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) GetParameterDescriptionsForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetParameterDescriptionsForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
GetParameterDescriptionsForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionParameterDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) GetPermittedValueDataForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetPermittedValueDataForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
GetPermittedValueDataForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionPermittedValueSetDataType
func (*ElectricalConnectionServerInterface_Expecter) GetPermittedValueSetForFilter ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetPermittedValueSetForFilter(filter interface{}) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
GetPermittedValueSetForFilter is a helper method to define mock.On call
- filter model.ElectricalConnectionPermittedValueSetDataType
func (*ElectricalConnectionServerInterface_Expecter) GetPhaseCurrentLimits ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) GetPhaseCurrentLimits(measDesc interface{}) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
GetPhaseCurrentLimits is a helper method to define mock.On call
- measDesc []model.MeasurementDescriptionDataType
func (*ElectricalConnectionServerInterface_Expecter) UpdateCharacteristic ¶ added in v0.6.0
func (_e *ElectricalConnectionServerInterface_Expecter) UpdateCharacteristic(data interface{}, deleteElements interface{}) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
UpdateCharacteristic is a helper method to define mock.On call
- data model.ElectricalConnectionCharacteristicDataType
- deleteElements *model.ElectricalConnectionCharacteristicDataElementsType
func (*ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForFilters ¶ added in v0.8.0
func (_e *ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForFilters(data interface{}, deleteSelector interface{}, deleteElements interface{}) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
UpdatePermittedValueSetForFilters is a helper method to define mock.On call
- data []api.ElectricalConnectionPermittedValueSetForFilter
- deleteSelector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType
- deleteElements *model.ElectricalConnectionPermittedValueSetDataElementsType
func (*ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForIds ¶ added in v0.8.0
func (_e *ElectricalConnectionServerInterface_Expecter) UpdatePermittedValueSetForIds(data interface{}) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call
UpdatePermittedValueSetForIds is a helper method to define mock.On call
- data []api.ElectricalConnectionPermittedValueSetForID
type ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCharacteristicsForFilter'
func (*ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) Return(electricalConnectionCharacteristicDataTypes []model.ElectricalConnectionCharacteristicDataType, err error) *ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call
func (*ElectricalConnectionServerInterface_GetCharacteristicsForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call ¶ added in v0.6.0
type ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call struct {
*mock.Call
}
ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionForParameterDescriptionFilter'
func (*ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) Return(electricalConnectionDescriptionDataType *model.ElectricalConnectionDescriptionDataType, err error) *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call
func (*ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionParameterDescriptionDataType) (*model.ElectricalConnectionDescriptionDataType, error)) *ElectricalConnectionServerInterface_GetDescriptionForParameterDescriptionFilter_Call
type ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionsForFilter'
func (*ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) Return(electricalConnectionDescriptionDataTypes []model.ElectricalConnectionDescriptionDataType, err error) *ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call
func (*ElectricalConnectionServerInterface_GetDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call ¶ added in v0.8.0
ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrAddIdForDescription'
func (*ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Return ¶ added in v0.8.0
func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Return(electricalConnectionIdType *model.ElectricalConnectionIdType, err error) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
func (*ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Run ¶ added in v0.8.0
func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) Run(run func(electricalConnectionDescription model.ElectricalConnectionDescriptionDataType)) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
func (*ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call) RunAndReturn(run func(electricalConnectionDescription model.ElectricalConnectionDescriptionDataType) (*model.ElectricalConnectionIdType, error)) *ElectricalConnectionServerInterface_GetOrAddIdForDescription_Call
type ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call ¶ added in v0.6.0
type ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call struct {
*mock.Call
}
ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameterDescriptionsForFilter'
func (*ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) Return(electricalConnectionParameterDescriptionDataTypes []model.ElectricalConnectionParameterDescriptionDataType, err error) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
func (*ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionParameterDescriptionDataType) ([]model.ElectricalConnectionParameterDescriptionDataType, error)) *ElectricalConnectionServerInterface_GetParameterDescriptionsForFilter_Call
type ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermittedValueDataForFilter'
func (*ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) Return ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call) RunAndReturn(run func(filter model.ElectricalConnectionPermittedValueSetDataType) (float64, float64, float64, error)) *ElectricalConnectionServerInterface_GetPermittedValueDataForFilter_Call
type ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermittedValueSetForFilter'
func (*ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) Return(electricalConnectionPermittedValueSetDataTypes []model.ElectricalConnectionPermittedValueSetDataType, err error) *ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call
func (*ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) Run ¶ added in v0.6.0
func (*ElectricalConnectionServerInterface_GetPermittedValueSetForFilter_Call) RunAndReturn ¶ added in v0.6.0
type ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPhaseCurrentLimits'
func (*ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Return ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Return(resultMin map[model.ElectricalConnectionPhaseNameType]float64, resultMax map[model.ElectricalConnectionPhaseNameType]float64, resultDefault map[model.ElectricalConnectionPhaseNameType]float64, resultErr error) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
func (*ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Run ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) Run(run func(measDesc []model.MeasurementDescriptionDataType)) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
func (*ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call) RunAndReturn(run func(measDesc []model.MeasurementDescriptionDataType) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)) *ElectricalConnectionServerInterface_GetPhaseCurrentLimits_Call
type ElectricalConnectionServerInterface_UpdateCharacteristic_Call ¶ added in v0.6.0
ElectricalConnectionServerInterface_UpdateCharacteristic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCharacteristic'
func (*ElectricalConnectionServerInterface_UpdateCharacteristic_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ElectricalConnectionServerInterface_UpdateCharacteristic_Call) RunAndReturn(run func(data model.ElectricalConnectionCharacteristicDataType, deleteElements *model.ElectricalConnectionCharacteristicDataElementsType) error) *ElectricalConnectionServerInterface_UpdateCharacteristic_Call
type ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call ¶ added in v0.8.0
type ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call struct {
*mock.Call
}
ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermittedValueSetForFilters'
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) Return ¶ added in v0.8.0
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) Run ¶ added in v0.8.0
func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) Run(run func(data []api.ElectricalConnectionPermittedValueSetForFilter, deleteSelector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, deleteElements *model.ElectricalConnectionPermittedValueSetDataElementsType)) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call) RunAndReturn(run func(data []api.ElectricalConnectionPermittedValueSetForFilter, deleteSelector *model.ElectricalConnectionPermittedValueSetListDataSelectorsType, deleteElements *model.ElectricalConnectionPermittedValueSetDataElementsType) error) *ElectricalConnectionServerInterface_UpdatePermittedValueSetForFilters_Call
type ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call ¶ added in v0.8.0
ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePermittedValueSetForIds'
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) Return ¶ added in v0.8.0
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) Run ¶ added in v0.8.0
func (*ElectricalConnectionServerInterface_UpdatePermittedValueSetForIds_Call) RunAndReturn ¶ added in v0.8.0
type EntityEventCallback ¶ added in v0.6.0
EntityEventCallback is an autogenerated mock type for the EntityEventCallback type
func NewEntityEventCallback ¶ added in v0.6.0
func NewEntityEventCallback(t interface {
mock.TestingT
Cleanup(func())
}) *EntityEventCallback
NewEntityEventCallback creates a new instance of EntityEventCallback. 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 (*EntityEventCallback) EXPECT ¶ added in v0.6.0
func (_m *EntityEventCallback) EXPECT() *EntityEventCallback_Expecter
func (*EntityEventCallback) Execute ¶ added in v0.6.0
func (_m *EntityEventCallback) Execute(ski string, device api.DeviceRemoteInterface, entity api.EntityRemoteInterface, event eebus_goapi.EventType)
Execute provides a mock function with given fields: ski, device, entity, event
type EntityEventCallback_Execute_Call ¶ added in v0.6.0
EntityEventCallback_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*EntityEventCallback_Execute_Call) Return ¶ added in v0.6.0
func (_c *EntityEventCallback_Execute_Call) Return() *EntityEventCallback_Execute_Call
func (*EntityEventCallback_Execute_Call) Run ¶ added in v0.6.0
func (_c *EntityEventCallback_Execute_Call) Run(run func(ski string, device api.DeviceRemoteInterface, entity api.EntityRemoteInterface, event eebus_goapi.EventType)) *EntityEventCallback_Execute_Call
func (*EntityEventCallback_Execute_Call) RunAndReturn ¶ added in v0.6.0
func (_c *EntityEventCallback_Execute_Call) RunAndReturn(run func(string, api.DeviceRemoteInterface, api.EntityRemoteInterface, eebus_goapi.EventType)) *EntityEventCallback_Execute_Call
type EntityEventCallback_Expecter ¶ added in v0.6.0
type EntityEventCallback_Expecter struct {
// contains filtered or unexported fields
}
func (*EntityEventCallback_Expecter) Execute ¶ added in v0.6.0
func (_e *EntityEventCallback_Expecter) Execute(ski interface{}, device interface{}, entity interface{}, event interface{}) *EntityEventCallback_Execute_Call
Execute is a helper method to define mock.On call
- ski string
- device api.DeviceRemoteInterface
- entity api.EntityRemoteInterface
- event eebus_goapi.EventType
type FeatureClientInterface ¶ added in v0.6.0
FeatureClientInterface is an autogenerated mock type for the FeatureClientInterface type
func NewFeatureClientInterface ¶ added in v0.6.0
func NewFeatureClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *FeatureClientInterface
NewFeatureClientInterface creates a new instance of FeatureClientInterface. 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 (*FeatureClientInterface) AddResponseCallback ¶ added in v0.6.0
func (_mock *FeatureClientInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(msg api.ResponseMessage)) error
AddResponseCallback provides a mock function for the type FeatureClientInterface
func (*FeatureClientInterface) AddResultCallback ¶ added in v0.6.0
func (_mock *FeatureClientInterface) AddResultCallback(function func(msg api.ResponseMessage))
AddResultCallback provides a mock function for the type FeatureClientInterface
func (*FeatureClientInterface) Bind ¶ added in v0.6.0
func (_mock *FeatureClientInterface) Bind() (*model.MsgCounterType, error)
Bind provides a mock function for the type FeatureClientInterface
func (*FeatureClientInterface) EXPECT ¶ added in v0.6.0
func (_m *FeatureClientInterface) EXPECT() *FeatureClientInterface_Expecter
func (*FeatureClientInterface) HasBinding ¶ added in v0.6.0
func (_mock *FeatureClientInterface) HasBinding() bool
HasBinding provides a mock function for the type FeatureClientInterface
func (*FeatureClientInterface) HasSubscription ¶ added in v0.6.0
func (_mock *FeatureClientInterface) HasSubscription() bool
HasSubscription provides a mock function for the type FeatureClientInterface
func (*FeatureClientInterface) Subscribe ¶ added in v0.6.0
func (_mock *FeatureClientInterface) Subscribe() (*model.MsgCounterType, error)
Subscribe provides a mock function for the type FeatureClientInterface
type FeatureClientInterface_AddResponseCallback_Call ¶ added in v0.6.0
FeatureClientInterface_AddResponseCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResponseCallback'
func (*FeatureClientInterface_AddResponseCallback_Call) Return ¶ added in v0.6.0
func (_c *FeatureClientInterface_AddResponseCallback_Call) Return(err error) *FeatureClientInterface_AddResponseCallback_Call
func (*FeatureClientInterface_AddResponseCallback_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_AddResponseCallback_Call) Run(run func(msgCounterReference model.MsgCounterType, function func(msg api.ResponseMessage))) *FeatureClientInterface_AddResponseCallback_Call
func (*FeatureClientInterface_AddResponseCallback_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_AddResponseCallback_Call) RunAndReturn(run func(msgCounterReference model.MsgCounterType, function func(msg api.ResponseMessage)) error) *FeatureClientInterface_AddResponseCallback_Call
type FeatureClientInterface_AddResultCallback_Call ¶ added in v0.6.0
FeatureClientInterface_AddResultCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResultCallback'
func (*FeatureClientInterface_AddResultCallback_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_AddResultCallback_Call) Run(run func(function func(msg api.ResponseMessage))) *FeatureClientInterface_AddResultCallback_Call
func (*FeatureClientInterface_AddResultCallback_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_AddResultCallback_Call) RunAndReturn(run func(function func(msg api.ResponseMessage))) *FeatureClientInterface_AddResultCallback_Call
type FeatureClientInterface_Bind_Call ¶ added in v0.6.0
FeatureClientInterface_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*FeatureClientInterface_Bind_Call) Return ¶ added in v0.6.0
func (_c *FeatureClientInterface_Bind_Call) Return(msgCounterType *model.MsgCounterType, err error) *FeatureClientInterface_Bind_Call
func (*FeatureClientInterface_Bind_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_Bind_Call) Run(run func()) *FeatureClientInterface_Bind_Call
func (*FeatureClientInterface_Bind_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureClientInterface_Bind_Call
type FeatureClientInterface_Expecter ¶ added in v0.6.0
type FeatureClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*FeatureClientInterface_Expecter) AddResponseCallback ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureClientInterface_AddResponseCallback_Call
AddResponseCallback is a helper method to define mock.On call
- msgCounterReference model.MsgCounterType
- function func(msg api.ResponseMessage)
func (*FeatureClientInterface_Expecter) AddResultCallback ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) AddResultCallback(function interface{}) *FeatureClientInterface_AddResultCallback_Call
AddResultCallback is a helper method to define mock.On call
- function func(msg api.ResponseMessage)
func (*FeatureClientInterface_Expecter) Bind ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) Bind() *FeatureClientInterface_Bind_Call
Bind is a helper method to define mock.On call
func (*FeatureClientInterface_Expecter) HasBinding ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) HasBinding() *FeatureClientInterface_HasBinding_Call
HasBinding is a helper method to define mock.On call
func (*FeatureClientInterface_Expecter) HasSubscription ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) HasSubscription() *FeatureClientInterface_HasSubscription_Call
HasSubscription is a helper method to define mock.On call
func (*FeatureClientInterface_Expecter) Subscribe ¶ added in v0.6.0
func (_e *FeatureClientInterface_Expecter) Subscribe() *FeatureClientInterface_Subscribe_Call
Subscribe is a helper method to define mock.On call
type FeatureClientInterface_HasBinding_Call ¶ added in v0.6.0
FeatureClientInterface_HasBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasBinding'
func (*FeatureClientInterface_HasBinding_Call) Return ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasBinding_Call) Return(b bool) *FeatureClientInterface_HasBinding_Call
func (*FeatureClientInterface_HasBinding_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasBinding_Call) Run(run func()) *FeatureClientInterface_HasBinding_Call
func (*FeatureClientInterface_HasBinding_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasBinding_Call) RunAndReturn(run func() bool) *FeatureClientInterface_HasBinding_Call
type FeatureClientInterface_HasSubscription_Call ¶ added in v0.6.0
FeatureClientInterface_HasSubscription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSubscription'
func (*FeatureClientInterface_HasSubscription_Call) Return ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasSubscription_Call) Return(b bool) *FeatureClientInterface_HasSubscription_Call
func (*FeatureClientInterface_HasSubscription_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasSubscription_Call) Run(run func()) *FeatureClientInterface_HasSubscription_Call
func (*FeatureClientInterface_HasSubscription_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureClientInterface_HasSubscription_Call
type FeatureClientInterface_Subscribe_Call ¶ added in v0.6.0
FeatureClientInterface_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*FeatureClientInterface_Subscribe_Call) Return ¶ added in v0.6.0
func (_c *FeatureClientInterface_Subscribe_Call) Return(msgCounterType *model.MsgCounterType, err error) *FeatureClientInterface_Subscribe_Call
func (*FeatureClientInterface_Subscribe_Call) Run ¶ added in v0.6.0
func (_c *FeatureClientInterface_Subscribe_Call) Run(run func()) *FeatureClientInterface_Subscribe_Call
func (*FeatureClientInterface_Subscribe_Call) RunAndReturn ¶ added in v0.6.0
func (_c *FeatureClientInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureClientInterface_Subscribe_Call
type FeatureInterface ¶
FeatureInterface is an autogenerated mock type for the FeatureInterface type
func NewFeatureInterface ¶
func NewFeatureInterface(t interface {
mock.TestingT
Cleanup(func())
}) *FeatureInterface
NewFeatureInterface creates a new instance of FeatureInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FeatureInterface) AddResponseCallback ¶
func (_m *FeatureInterface) AddResponseCallback(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage)) error
AddResponseCallback provides a mock function with given fields: msgCounterReference, function
func (*FeatureInterface) AddResultCallback ¶
func (_m *FeatureInterface) AddResultCallback(function func(api.ResponseMessage))
AddResultCallback provides a mock function with given fields: function
func (*FeatureInterface) Bind ¶
func (_m *FeatureInterface) Bind() (*model.MsgCounterType, error)
Bind provides a mock function with given fields:
func (*FeatureInterface) EXPECT ¶
func (_m *FeatureInterface) EXPECT() *FeatureInterface_Expecter
func (*FeatureInterface) HasBinding ¶
func (_m *FeatureInterface) HasBinding() bool
HasBinding provides a mock function with given fields:
func (*FeatureInterface) HasSubscription ¶
func (_m *FeatureInterface) HasSubscription() bool
HasSubscription provides a mock function with given fields:
func (*FeatureInterface) Subscribe ¶
func (_m *FeatureInterface) Subscribe() (*model.MsgCounterType, error)
Subscribe provides a mock function with given fields:
type FeatureInterface_AddResponseCallback_Call ¶
FeatureInterface_AddResponseCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResponseCallback'
func (*FeatureInterface_AddResponseCallback_Call) Return ¶
func (_c *FeatureInterface_AddResponseCallback_Call) Return(_a0 error) *FeatureInterface_AddResponseCallback_Call
func (*FeatureInterface_AddResponseCallback_Call) Run ¶
func (_c *FeatureInterface_AddResponseCallback_Call) Run(run func(msgCounterReference model.MsgCounterType, function func(api.ResponseMessage))) *FeatureInterface_AddResponseCallback_Call
func (*FeatureInterface_AddResponseCallback_Call) RunAndReturn ¶
func (_c *FeatureInterface_AddResponseCallback_Call) RunAndReturn(run func(model.MsgCounterType, func(api.ResponseMessage)) error) *FeatureInterface_AddResponseCallback_Call
type FeatureInterface_AddResultCallback_Call ¶
FeatureInterface_AddResultCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddResultCallback'
func (*FeatureInterface_AddResultCallback_Call) Return ¶
func (_c *FeatureInterface_AddResultCallback_Call) Return() *FeatureInterface_AddResultCallback_Call
func (*FeatureInterface_AddResultCallback_Call) Run ¶
func (_c *FeatureInterface_AddResultCallback_Call) Run(run func(function func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
func (*FeatureInterface_AddResultCallback_Call) RunAndReturn ¶
func (_c *FeatureInterface_AddResultCallback_Call) RunAndReturn(run func(func(api.ResponseMessage))) *FeatureInterface_AddResultCallback_Call
type FeatureInterface_Bind_Call ¶
FeatureInterface_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*FeatureInterface_Bind_Call) Return ¶
func (_c *FeatureInterface_Bind_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Bind_Call
func (*FeatureInterface_Bind_Call) Run ¶
func (_c *FeatureInterface_Bind_Call) Run(run func()) *FeatureInterface_Bind_Call
func (*FeatureInterface_Bind_Call) RunAndReturn ¶
func (_c *FeatureInterface_Bind_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Bind_Call
type FeatureInterface_Expecter ¶
type FeatureInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*FeatureInterface_Expecter) AddResponseCallback ¶
func (_e *FeatureInterface_Expecter) AddResponseCallback(msgCounterReference interface{}, function interface{}) *FeatureInterface_AddResponseCallback_Call
AddResponseCallback is a helper method to define mock.On call
- msgCounterReference model.MsgCounterType
- function func(api.ResponseMessage)
func (*FeatureInterface_Expecter) AddResultCallback ¶
func (_e *FeatureInterface_Expecter) AddResultCallback(function interface{}) *FeatureInterface_AddResultCallback_Call
AddResultCallback is a helper method to define mock.On call
- function func(api.ResponseMessage)
func (*FeatureInterface_Expecter) Bind ¶
func (_e *FeatureInterface_Expecter) Bind() *FeatureInterface_Bind_Call
Bind is a helper method to define mock.On call
func (*FeatureInterface_Expecter) HasBinding ¶
func (_e *FeatureInterface_Expecter) HasBinding() *FeatureInterface_HasBinding_Call
HasBinding is a helper method to define mock.On call
func (*FeatureInterface_Expecter) HasSubscription ¶
func (_e *FeatureInterface_Expecter) HasSubscription() *FeatureInterface_HasSubscription_Call
HasSubscription is a helper method to define mock.On call
func (*FeatureInterface_Expecter) Subscribe ¶
func (_e *FeatureInterface_Expecter) Subscribe() *FeatureInterface_Subscribe_Call
Subscribe is a helper method to define mock.On call
type FeatureInterface_HasBinding_Call ¶
FeatureInterface_HasBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasBinding'
func (*FeatureInterface_HasBinding_Call) Return ¶
func (_c *FeatureInterface_HasBinding_Call) Return(_a0 bool) *FeatureInterface_HasBinding_Call
func (*FeatureInterface_HasBinding_Call) Run ¶
func (_c *FeatureInterface_HasBinding_Call) Run(run func()) *FeatureInterface_HasBinding_Call
func (*FeatureInterface_HasBinding_Call) RunAndReturn ¶
func (_c *FeatureInterface_HasBinding_Call) RunAndReturn(run func() bool) *FeatureInterface_HasBinding_Call
type FeatureInterface_HasSubscription_Call ¶
FeatureInterface_HasSubscription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSubscription'
func (*FeatureInterface_HasSubscription_Call) Return ¶
func (_c *FeatureInterface_HasSubscription_Call) Return(_a0 bool) *FeatureInterface_HasSubscription_Call
func (*FeatureInterface_HasSubscription_Call) Run ¶
func (_c *FeatureInterface_HasSubscription_Call) Run(run func()) *FeatureInterface_HasSubscription_Call
func (*FeatureInterface_HasSubscription_Call) RunAndReturn ¶
func (_c *FeatureInterface_HasSubscription_Call) RunAndReturn(run func() bool) *FeatureInterface_HasSubscription_Call
type FeatureInterface_Subscribe_Call ¶
FeatureInterface_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*FeatureInterface_Subscribe_Call) Return ¶
func (_c *FeatureInterface_Subscribe_Call) Return(_a0 *model.MsgCounterType, _a1 error) *FeatureInterface_Subscribe_Call
func (*FeatureInterface_Subscribe_Call) Run ¶
func (_c *FeatureInterface_Subscribe_Call) Run(run func()) *FeatureInterface_Subscribe_Call
func (*FeatureInterface_Subscribe_Call) RunAndReturn ¶
func (_c *FeatureInterface_Subscribe_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *FeatureInterface_Subscribe_Call
type FeatureServerInterface ¶ added in v0.6.0
FeatureServerInterface is an autogenerated mock type for the FeatureServerInterface type
func NewFeatureServerInterface ¶ added in v0.6.0
func NewFeatureServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *FeatureServerInterface
NewFeatureServerInterface creates a new instance of FeatureServerInterface. 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 (*FeatureServerInterface) EXPECT ¶ added in v0.6.0
func (_m *FeatureServerInterface) EXPECT() *FeatureServerInterface_Expecter
type FeatureServerInterface_Expecter ¶ added in v0.6.0
type FeatureServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type IdentificationClientInterface ¶ added in v0.6.0
IdentificationClientInterface is an autogenerated mock type for the IdentificationClientInterface type
func NewIdentificationClientInterface ¶ added in v0.6.0
func NewIdentificationClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IdentificationClientInterface
NewIdentificationClientInterface creates a new instance of IdentificationClientInterface. 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 (*IdentificationClientInterface) EXPECT ¶ added in v0.6.0
func (_m *IdentificationClientInterface) EXPECT() *IdentificationClientInterface_Expecter
func (*IdentificationClientInterface) RequestValues ¶ added in v0.6.0
func (_mock *IdentificationClientInterface) RequestValues() (*model.MsgCounterType, error)
RequestValues provides a mock function for the type IdentificationClientInterface
type IdentificationClientInterface_Expecter ¶ added in v0.6.0
type IdentificationClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentificationClientInterface_Expecter) RequestValues ¶ added in v0.6.0
func (_e *IdentificationClientInterface_Expecter) RequestValues() *IdentificationClientInterface_RequestValues_Call
RequestValues is a helper method to define mock.On call
type IdentificationClientInterface_RequestValues_Call ¶ added in v0.6.0
IdentificationClientInterface_RequestValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestValues'
func (*IdentificationClientInterface_RequestValues_Call) Return ¶ added in v0.6.0
func (_c *IdentificationClientInterface_RequestValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IdentificationClientInterface_RequestValues_Call
func (*IdentificationClientInterface_RequestValues_Call) Run ¶ added in v0.6.0
func (_c *IdentificationClientInterface_RequestValues_Call) Run(run func()) *IdentificationClientInterface_RequestValues_Call
func (*IdentificationClientInterface_RequestValues_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IdentificationClientInterface_RequestValues_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IdentificationClientInterface_RequestValues_Call
type IdentificationCommonInterface ¶ added in v0.6.0
IdentificationCommonInterface is an autogenerated mock type for the IdentificationCommonInterface type
func NewIdentificationCommonInterface ¶ added in v0.6.0
func NewIdentificationCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IdentificationCommonInterface
NewIdentificationCommonInterface creates a new instance of IdentificationCommonInterface. 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 (*IdentificationCommonInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *IdentificationCommonInterface) CheckEventPayloadDataForFilter(payloadData any) bool
CheckEventPayloadDataForFilter provides a mock function for the type IdentificationCommonInterface
func (*IdentificationCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *IdentificationCommonInterface) EXPECT() *IdentificationCommonInterface_Expecter
func (*IdentificationCommonInterface) GetDataForFilter ¶ added in v0.6.0
func (_mock *IdentificationCommonInterface) GetDataForFilter(filter model.IdentificationDataType) ([]model.IdentificationDataType, error)
GetDataForFilter provides a mock function for the type IdentificationCommonInterface
type IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any)) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
func (*IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any) bool) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
type IdentificationCommonInterface_Expecter ¶ added in v0.6.0
type IdentificationCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentificationCommonInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *IdentificationCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}) *IdentificationCommonInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
func (*IdentificationCommonInterface_Expecter) GetDataForFilter ¶ added in v0.6.0
func (_e *IdentificationCommonInterface_Expecter) GetDataForFilter(filter interface{}) *IdentificationCommonInterface_GetDataForFilter_Call
GetDataForFilter is a helper method to define mock.On call
- filter model.IdentificationDataType
type IdentificationCommonInterface_GetDataForFilter_Call ¶ added in v0.6.0
IdentificationCommonInterface_GetDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataForFilter'
func (*IdentificationCommonInterface_GetDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *IdentificationCommonInterface_GetDataForFilter_Call) Return(identificationDataTypes []model.IdentificationDataType, err error) *IdentificationCommonInterface_GetDataForFilter_Call
func (*IdentificationCommonInterface_GetDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *IdentificationCommonInterface_GetDataForFilter_Call) Run(run func(filter model.IdentificationDataType)) *IdentificationCommonInterface_GetDataForFilter_Call
func (*IdentificationCommonInterface_GetDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IdentificationCommonInterface_GetDataForFilter_Call) RunAndReturn(run func(filter model.IdentificationDataType) ([]model.IdentificationDataType, error)) *IdentificationCommonInterface_GetDataForFilter_Call
type IdentificationServerInterface ¶ added in v0.6.0
IdentificationServerInterface is an autogenerated mock type for the IdentificationServerInterface type
func NewIdentificationServerInterface ¶ added in v0.6.0
func NewIdentificationServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IdentificationServerInterface
NewIdentificationServerInterface creates a new instance of IdentificationServerInterface. 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 (*IdentificationServerInterface) EXPECT ¶ added in v0.6.0
func (_m *IdentificationServerInterface) EXPECT() *IdentificationServerInterface_Expecter
type IdentificationServerInterface_Expecter ¶ added in v0.6.0
type IdentificationServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type IncentiveTableClientInterface ¶ added in v0.6.0
IncentiveTableClientInterface is an autogenerated mock type for the IncentiveTableClientInterface type
func NewIncentiveTableClientInterface ¶ added in v0.6.0
func NewIncentiveTableClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IncentiveTableClientInterface
NewIncentiveTableClientInterface creates a new instance of IncentiveTableClientInterface. 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 (*IncentiveTableClientInterface) EXPECT ¶ added in v0.6.0
func (_m *IncentiveTableClientInterface) EXPECT() *IncentiveTableClientInterface_Expecter
func (*IncentiveTableClientInterface) RequestConstraints ¶ added in v0.6.0
func (_mock *IncentiveTableClientInterface) RequestConstraints() (*model.MsgCounterType, error)
RequestConstraints provides a mock function for the type IncentiveTableClientInterface
func (*IncentiveTableClientInterface) RequestDescriptions ¶ added in v0.6.0
func (_mock *IncentiveTableClientInterface) RequestDescriptions() (*model.MsgCounterType, error)
RequestDescriptions provides a mock function for the type IncentiveTableClientInterface
func (*IncentiveTableClientInterface) RequestValues ¶ added in v0.6.0
func (_mock *IncentiveTableClientInterface) RequestValues() (*model.MsgCounterType, error)
RequestValues provides a mock function for the type IncentiveTableClientInterface
func (*IncentiveTableClientInterface) WriteDescriptions ¶ added in v0.6.0
func (_mock *IncentiveTableClientInterface) WriteDescriptions(data []model.IncentiveTableDescriptionType) (*model.MsgCounterType, error)
WriteDescriptions provides a mock function for the type IncentiveTableClientInterface
func (*IncentiveTableClientInterface) WriteValues ¶ added in v0.6.0
func (_mock *IncentiveTableClientInterface) WriteValues(data []model.IncentiveTableType) (*model.MsgCounterType, error)
WriteValues provides a mock function for the type IncentiveTableClientInterface
type IncentiveTableClientInterface_Expecter ¶ added in v0.6.0
type IncentiveTableClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*IncentiveTableClientInterface_Expecter) RequestConstraints ¶ added in v0.6.0
func (_e *IncentiveTableClientInterface_Expecter) RequestConstraints() *IncentiveTableClientInterface_RequestConstraints_Call
RequestConstraints is a helper method to define mock.On call
func (*IncentiveTableClientInterface_Expecter) RequestDescriptions ¶ added in v0.6.0
func (_e *IncentiveTableClientInterface_Expecter) RequestDescriptions() *IncentiveTableClientInterface_RequestDescriptions_Call
RequestDescriptions is a helper method to define mock.On call
func (*IncentiveTableClientInterface_Expecter) RequestValues ¶ added in v0.6.0
func (_e *IncentiveTableClientInterface_Expecter) RequestValues() *IncentiveTableClientInterface_RequestValues_Call
RequestValues is a helper method to define mock.On call
func (*IncentiveTableClientInterface_Expecter) WriteDescriptions ¶ added in v0.6.0
func (_e *IncentiveTableClientInterface_Expecter) WriteDescriptions(data interface{}) *IncentiveTableClientInterface_WriteDescriptions_Call
WriteDescriptions is a helper method to define mock.On call
- data []model.IncentiveTableDescriptionType
func (*IncentiveTableClientInterface_Expecter) WriteValues ¶ added in v0.6.0
func (_e *IncentiveTableClientInterface_Expecter) WriteValues(data interface{}) *IncentiveTableClientInterface_WriteValues_Call
WriteValues is a helper method to define mock.On call
- data []model.IncentiveTableType
type IncentiveTableClientInterface_RequestConstraints_Call ¶ added in v0.6.0
IncentiveTableClientInterface_RequestConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestConstraints'
func (*IncentiveTableClientInterface_RequestConstraints_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestConstraints_Call
func (*IncentiveTableClientInterface_RequestConstraints_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestConstraints_Call) Run(run func()) *IncentiveTableClientInterface_RequestConstraints_Call
func (*IncentiveTableClientInterface_RequestConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestConstraints_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestConstraints_Call
type IncentiveTableClientInterface_RequestDescriptions_Call ¶ added in v0.6.0
IncentiveTableClientInterface_RequestDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestDescriptions'
func (*IncentiveTableClientInterface_RequestDescriptions_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestDescriptions_Call
func (*IncentiveTableClientInterface_RequestDescriptions_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) Run(run func()) *IncentiveTableClientInterface_RequestDescriptions_Call
func (*IncentiveTableClientInterface_RequestDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestDescriptions_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestDescriptions_Call
type IncentiveTableClientInterface_RequestValues_Call ¶ added in v0.6.0
IncentiveTableClientInterface_RequestValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestValues'
func (*IncentiveTableClientInterface_RequestValues_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_RequestValues_Call
func (*IncentiveTableClientInterface_RequestValues_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestValues_Call) Run(run func()) *IncentiveTableClientInterface_RequestValues_Call
func (*IncentiveTableClientInterface_RequestValues_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_RequestValues_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *IncentiveTableClientInterface_RequestValues_Call
type IncentiveTableClientInterface_WriteDescriptions_Call ¶ added in v0.6.0
IncentiveTableClientInterface_WriteDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteDescriptions'
func (*IncentiveTableClientInterface_WriteDescriptions_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_WriteDescriptions_Call
func (*IncentiveTableClientInterface_WriteDescriptions_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) Run(run func(data []model.IncentiveTableDescriptionType)) *IncentiveTableClientInterface_WriteDescriptions_Call
func (*IncentiveTableClientInterface_WriteDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteDescriptions_Call) RunAndReturn(run func(data []model.IncentiveTableDescriptionType) (*model.MsgCounterType, error)) *IncentiveTableClientInterface_WriteDescriptions_Call
type IncentiveTableClientInterface_WriteValues_Call ¶ added in v0.6.0
IncentiveTableClientInterface_WriteValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteValues'
func (*IncentiveTableClientInterface_WriteValues_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteValues_Call) Return(msgCounterType *model.MsgCounterType, err error) *IncentiveTableClientInterface_WriteValues_Call
func (*IncentiveTableClientInterface_WriteValues_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteValues_Call) Run(run func(data []model.IncentiveTableType)) *IncentiveTableClientInterface_WriteValues_Call
func (*IncentiveTableClientInterface_WriteValues_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableClientInterface_WriteValues_Call) RunAndReturn(run func(data []model.IncentiveTableType) (*model.MsgCounterType, error)) *IncentiveTableClientInterface_WriteValues_Call
type IncentiveTableCommonInterface ¶ added in v0.6.0
IncentiveTableCommonInterface is an autogenerated mock type for the IncentiveTableCommonInterface type
func NewIncentiveTableCommonInterface ¶ added in v0.6.0
func NewIncentiveTableCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IncentiveTableCommonInterface
NewIncentiveTableCommonInterface creates a new instance of IncentiveTableCommonInterface. 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 (*IncentiveTableCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *IncentiveTableCommonInterface) EXPECT() *IncentiveTableCommonInterface_Expecter
func (*IncentiveTableCommonInterface) GetConstraints ¶ added in v0.6.0
func (_mock *IncentiveTableCommonInterface) GetConstraints() ([]model.IncentiveTableConstraintsType, error)
GetConstraints provides a mock function for the type IncentiveTableCommonInterface
func (*IncentiveTableCommonInterface) GetData ¶ added in v0.6.0
func (_mock *IncentiveTableCommonInterface) GetData() ([]model.IncentiveTableType, error)
GetData provides a mock function for the type IncentiveTableCommonInterface
func (*IncentiveTableCommonInterface) GetDescriptionsForFilter ¶ added in v0.6.0
func (_mock *IncentiveTableCommonInterface) GetDescriptionsForFilter(filter model.TariffDescriptionDataType) ([]model.IncentiveTableDescriptionType, error)
GetDescriptionsForFilter provides a mock function for the type IncentiveTableCommonInterface
type IncentiveTableCommonInterface_Expecter ¶ added in v0.6.0
type IncentiveTableCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*IncentiveTableCommonInterface_Expecter) GetConstraints ¶ added in v0.6.0
func (_e *IncentiveTableCommonInterface_Expecter) GetConstraints() *IncentiveTableCommonInterface_GetConstraints_Call
GetConstraints is a helper method to define mock.On call
func (*IncentiveTableCommonInterface_Expecter) GetData ¶ added in v0.6.0
func (_e *IncentiveTableCommonInterface_Expecter) GetData() *IncentiveTableCommonInterface_GetData_Call
GetData is a helper method to define mock.On call
func (*IncentiveTableCommonInterface_Expecter) GetDescriptionsForFilter ¶ added in v0.6.0
func (_e *IncentiveTableCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
GetDescriptionsForFilter is a helper method to define mock.On call
- filter model.TariffDescriptionDataType
type IncentiveTableCommonInterface_GetConstraints_Call ¶ added in v0.6.0
IncentiveTableCommonInterface_GetConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConstraints'
func (*IncentiveTableCommonInterface_GetConstraints_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetConstraints_Call) Return(incentiveTableConstraintsTypes []model.IncentiveTableConstraintsType, err error) *IncentiveTableCommonInterface_GetConstraints_Call
func (*IncentiveTableCommonInterface_GetConstraints_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetConstraints_Call) Run(run func()) *IncentiveTableCommonInterface_GetConstraints_Call
func (*IncentiveTableCommonInterface_GetConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetConstraints_Call) RunAndReturn(run func() ([]model.IncentiveTableConstraintsType, error)) *IncentiveTableCommonInterface_GetConstraints_Call
type IncentiveTableCommonInterface_GetData_Call ¶ added in v0.6.0
IncentiveTableCommonInterface_GetData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetData'
func (*IncentiveTableCommonInterface_GetData_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetData_Call) Return(incentiveTableTypes []model.IncentiveTableType, err error) *IncentiveTableCommonInterface_GetData_Call
func (*IncentiveTableCommonInterface_GetData_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetData_Call) Run(run func()) *IncentiveTableCommonInterface_GetData_Call
func (*IncentiveTableCommonInterface_GetData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetData_Call) RunAndReturn(run func() ([]model.IncentiveTableType, error)) *IncentiveTableCommonInterface_GetData_Call
type IncentiveTableCommonInterface_GetDescriptionsForFilter_Call ¶ added in v0.6.0
IncentiveTableCommonInterface_GetDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionsForFilter'
func (*IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Return(incentiveTableDescriptionTypes []model.IncentiveTableDescriptionType, err error) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
func (*IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.TariffDescriptionDataType)) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
func (*IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(run func(filter model.TariffDescriptionDataType) ([]model.IncentiveTableDescriptionType, error)) *IncentiveTableCommonInterface_GetDescriptionsForFilter_Call
type IncentiveTableServerInterface ¶ added in v0.6.0
IncentiveTableServerInterface is an autogenerated mock type for the IncentiveTableServerInterface type
func NewIncentiveTableServerInterface ¶ added in v0.6.0
func NewIncentiveTableServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *IncentiveTableServerInterface
NewIncentiveTableServerInterface creates a new instance of IncentiveTableServerInterface. 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 (*IncentiveTableServerInterface) EXPECT ¶ added in v0.6.0
func (_m *IncentiveTableServerInterface) EXPECT() *IncentiveTableServerInterface_Expecter
type IncentiveTableServerInterface_Expecter ¶ added in v0.6.0
type IncentiveTableServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type LoadControlClientInterface ¶ added in v0.6.0
LoadControlClientInterface is an autogenerated mock type for the LoadControlClientInterface type
func NewLoadControlClientInterface ¶ added in v0.6.0
func NewLoadControlClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *LoadControlClientInterface
NewLoadControlClientInterface creates a new instance of LoadControlClientInterface. 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 (*LoadControlClientInterface) EXPECT ¶ added in v0.6.0
func (_m *LoadControlClientInterface) EXPECT() *LoadControlClientInterface_Expecter
func (*LoadControlClientInterface) RequestLimitConstraints ¶ added in v0.6.0
func (_mock *LoadControlClientInterface) RequestLimitConstraints(selector *model.LoadControlLimitConstraintsListDataSelectorsType, elements *model.LoadControlLimitConstraintsDataElementsType) (*model.MsgCounterType, error)
RequestLimitConstraints provides a mock function for the type LoadControlClientInterface
func (*LoadControlClientInterface) RequestLimitData ¶ added in v0.6.0
func (_mock *LoadControlClientInterface) RequestLimitData(selector *model.LoadControlLimitListDataSelectorsType, elements *model.LoadControlLimitDataElementsType) (*model.MsgCounterType, error)
RequestLimitData provides a mock function for the type LoadControlClientInterface
func (*LoadControlClientInterface) RequestLimitDescriptions ¶ added in v0.6.0
func (_mock *LoadControlClientInterface) RequestLimitDescriptions(selector *model.LoadControlLimitDescriptionListDataSelectorsType, elements *model.LoadControlLimitDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestLimitDescriptions provides a mock function for the type LoadControlClientInterface
func (*LoadControlClientInterface) WriteLimitData ¶ added in v0.6.0
func (_mock *LoadControlClientInterface) WriteLimitData(data []model.LoadControlLimitDataType, deleteSelectors *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType) (*model.MsgCounterType, error)
WriteLimitData provides a mock function for the type LoadControlClientInterface
type LoadControlClientInterface_Expecter ¶ added in v0.6.0
type LoadControlClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*LoadControlClientInterface_Expecter) RequestLimitConstraints ¶ added in v0.6.0
func (_e *LoadControlClientInterface_Expecter) RequestLimitConstraints(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitConstraints_Call
RequestLimitConstraints is a helper method to define mock.On call
- selector *model.LoadControlLimitConstraintsListDataSelectorsType
- elements *model.LoadControlLimitConstraintsDataElementsType
func (*LoadControlClientInterface_Expecter) RequestLimitData ¶ added in v0.6.0
func (_e *LoadControlClientInterface_Expecter) RequestLimitData(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitData_Call
RequestLimitData is a helper method to define mock.On call
- selector *model.LoadControlLimitListDataSelectorsType
- elements *model.LoadControlLimitDataElementsType
func (*LoadControlClientInterface_Expecter) RequestLimitDescriptions ¶ added in v0.6.0
func (_e *LoadControlClientInterface_Expecter) RequestLimitDescriptions(selector interface{}, elements interface{}) *LoadControlClientInterface_RequestLimitDescriptions_Call
RequestLimitDescriptions is a helper method to define mock.On call
- selector *model.LoadControlLimitDescriptionListDataSelectorsType
- elements *model.LoadControlLimitDescriptionDataElementsType
func (*LoadControlClientInterface_Expecter) WriteLimitData ¶ added in v0.6.0
func (_e *LoadControlClientInterface_Expecter) WriteLimitData(data interface{}, deleteSelectors interface{}, deleteElements interface{}) *LoadControlClientInterface_WriteLimitData_Call
WriteLimitData is a helper method to define mock.On call
- data []model.LoadControlLimitDataType
- deleteSelectors *model.LoadControlLimitListDataSelectorsType
- deleteElements *model.LoadControlLimitDataElementsType
type LoadControlClientInterface_RequestLimitConstraints_Call ¶ added in v0.6.0
LoadControlClientInterface_RequestLimitConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestLimitConstraints'
func (*LoadControlClientInterface_RequestLimitConstraints_Call) Return ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitConstraints_Call
func (*LoadControlClientInterface_RequestLimitConstraints_Call) Run ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) Run(run func(selector *model.LoadControlLimitConstraintsListDataSelectorsType, elements *model.LoadControlLimitConstraintsDataElementsType)) *LoadControlClientInterface_RequestLimitConstraints_Call
func (*LoadControlClientInterface_RequestLimitConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitConstraints_Call) RunAndReturn(run func(selector *model.LoadControlLimitConstraintsListDataSelectorsType, elements *model.LoadControlLimitConstraintsDataElementsType) (*model.MsgCounterType, error)) *LoadControlClientInterface_RequestLimitConstraints_Call
type LoadControlClientInterface_RequestLimitData_Call ¶ added in v0.6.0
LoadControlClientInterface_RequestLimitData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestLimitData'
func (*LoadControlClientInterface_RequestLimitData_Call) Return ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitData_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitData_Call
func (*LoadControlClientInterface_RequestLimitData_Call) Run ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitData_Call) Run(run func(selector *model.LoadControlLimitListDataSelectorsType, elements *model.LoadControlLimitDataElementsType)) *LoadControlClientInterface_RequestLimitData_Call
func (*LoadControlClientInterface_RequestLimitData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitData_Call) RunAndReturn(run func(selector *model.LoadControlLimitListDataSelectorsType, elements *model.LoadControlLimitDataElementsType) (*model.MsgCounterType, error)) *LoadControlClientInterface_RequestLimitData_Call
type LoadControlClientInterface_RequestLimitDescriptions_Call ¶ added in v0.6.0
LoadControlClientInterface_RequestLimitDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestLimitDescriptions'
func (*LoadControlClientInterface_RequestLimitDescriptions_Call) Return ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_RequestLimitDescriptions_Call
func (*LoadControlClientInterface_RequestLimitDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlClientInterface_RequestLimitDescriptions_Call) RunAndReturn(run func(selector *model.LoadControlLimitDescriptionListDataSelectorsType, elements *model.LoadControlLimitDescriptionDataElementsType) (*model.MsgCounterType, error)) *LoadControlClientInterface_RequestLimitDescriptions_Call
type LoadControlClientInterface_WriteLimitData_Call ¶ added in v0.6.0
LoadControlClientInterface_WriteLimitData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLimitData'
func (*LoadControlClientInterface_WriteLimitData_Call) Return ¶ added in v0.6.0
func (_c *LoadControlClientInterface_WriteLimitData_Call) Return(msgCounterType *model.MsgCounterType, err error) *LoadControlClientInterface_WriteLimitData_Call
func (*LoadControlClientInterface_WriteLimitData_Call) Run ¶ added in v0.6.0
func (_c *LoadControlClientInterface_WriteLimitData_Call) Run(run func(data []model.LoadControlLimitDataType, deleteSelectors *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType)) *LoadControlClientInterface_WriteLimitData_Call
func (*LoadControlClientInterface_WriteLimitData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlClientInterface_WriteLimitData_Call) RunAndReturn(run func(data []model.LoadControlLimitDataType, deleteSelectors *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType) (*model.MsgCounterType, error)) *LoadControlClientInterface_WriteLimitData_Call
type LoadControlCommonInterface ¶ added in v0.6.0
LoadControlCommonInterface is an autogenerated mock type for the LoadControlCommonInterface type
func NewLoadControlCommonInterface ¶ added in v0.6.0
func NewLoadControlCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *LoadControlCommonInterface
NewLoadControlCommonInterface creates a new instance of LoadControlCommonInterface. 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 (*LoadControlCommonInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *LoadControlCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type LoadControlCommonInterface
func (*LoadControlCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *LoadControlCommonInterface) EXPECT() *LoadControlCommonInterface_Expecter
func (*LoadControlCommonInterface) GetLimitDataForFilter ¶ added in v0.6.0
func (_mock *LoadControlCommonInterface) GetLimitDataForFilter(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDataType, error)
GetLimitDataForFilter provides a mock function for the type LoadControlCommonInterface
func (*LoadControlCommonInterface) GetLimitDataForId ¶ added in v0.6.0
func (_mock *LoadControlCommonInterface) GetLimitDataForId(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDataType, error)
GetLimitDataForId provides a mock function for the type LoadControlCommonInterface
func (*LoadControlCommonInterface) GetLimitDescriptionForId ¶ added in v0.6.0
func (_mock *LoadControlCommonInterface) GetLimitDescriptionForId(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDescriptionDataType, error)
GetLimitDescriptionForId provides a mock function for the type LoadControlCommonInterface
func (*LoadControlCommonInterface) GetLimitDescriptionsForFilter ¶ added in v0.6.0
func (_mock *LoadControlCommonInterface) GetLimitDescriptionsForFilter(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDescriptionDataType, error)
GetLimitDescriptionsForFilter provides a mock function for the type LoadControlCommonInterface
type LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
func (*LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
type LoadControlCommonInterface_Expecter ¶ added in v0.6.0
type LoadControlCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*LoadControlCommonInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *LoadControlCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *LoadControlCommonInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*LoadControlCommonInterface_Expecter) GetLimitDataForFilter ¶ added in v0.6.0
func (_e *LoadControlCommonInterface_Expecter) GetLimitDataForFilter(filter interface{}) *LoadControlCommonInterface_GetLimitDataForFilter_Call
GetLimitDataForFilter is a helper method to define mock.On call
- filter model.LoadControlLimitDescriptionDataType
func (*LoadControlCommonInterface_Expecter) GetLimitDataForId ¶ added in v0.6.0
func (_e *LoadControlCommonInterface_Expecter) GetLimitDataForId(limitId interface{}) *LoadControlCommonInterface_GetLimitDataForId_Call
GetLimitDataForId is a helper method to define mock.On call
- limitId model.LoadControlLimitIdType
func (*LoadControlCommonInterface_Expecter) GetLimitDescriptionForId ¶ added in v0.6.0
func (_e *LoadControlCommonInterface_Expecter) GetLimitDescriptionForId(limitId interface{}) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
GetLimitDescriptionForId is a helper method to define mock.On call
- limitId model.LoadControlLimitIdType
func (*LoadControlCommonInterface_Expecter) GetLimitDescriptionsForFilter ¶ added in v0.6.0
func (_e *LoadControlCommonInterface_Expecter) GetLimitDescriptionsForFilter(filter interface{}) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
GetLimitDescriptionsForFilter is a helper method to define mock.On call
- filter model.LoadControlLimitDescriptionDataType
type LoadControlCommonInterface_GetLimitDataForFilter_Call ¶ added in v0.6.0
LoadControlCommonInterface_GetLimitDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLimitDataForFilter'
func (*LoadControlCommonInterface_GetLimitDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) Return(loadControlLimitDataTypes []model.LoadControlLimitDataType, err error) *LoadControlCommonInterface_GetLimitDataForFilter_Call
func (*LoadControlCommonInterface_GetLimitDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) Run(run func(filter model.LoadControlLimitDescriptionDataType)) *LoadControlCommonInterface_GetLimitDataForFilter_Call
func (*LoadControlCommonInterface_GetLimitDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForFilter_Call) RunAndReturn(run func(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDataType, error)) *LoadControlCommonInterface_GetLimitDataForFilter_Call
type LoadControlCommonInterface_GetLimitDataForId_Call ¶ added in v0.6.0
LoadControlCommonInterface_GetLimitDataForId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLimitDataForId'
func (*LoadControlCommonInterface_GetLimitDataForId_Call) Return ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) Return(loadControlLimitDataType *model.LoadControlLimitDataType, err error) *LoadControlCommonInterface_GetLimitDataForId_Call
func (*LoadControlCommonInterface_GetLimitDataForId_Call) Run ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) Run(run func(limitId model.LoadControlLimitIdType)) *LoadControlCommonInterface_GetLimitDataForId_Call
func (*LoadControlCommonInterface_GetLimitDataForId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDataForId_Call) RunAndReturn(run func(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDataType, error)) *LoadControlCommonInterface_GetLimitDataForId_Call
type LoadControlCommonInterface_GetLimitDescriptionForId_Call ¶ added in v0.6.0
LoadControlCommonInterface_GetLimitDescriptionForId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLimitDescriptionForId'
func (*LoadControlCommonInterface_GetLimitDescriptionForId_Call) Return ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) Return(loadControlLimitDescriptionDataType *model.LoadControlLimitDescriptionDataType, err error) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
func (*LoadControlCommonInterface_GetLimitDescriptionForId_Call) Run ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) Run(run func(limitId model.LoadControlLimitIdType)) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
func (*LoadControlCommonInterface_GetLimitDescriptionForId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDescriptionForId_Call) RunAndReturn(run func(limitId model.LoadControlLimitIdType) (*model.LoadControlLimitDescriptionDataType, error)) *LoadControlCommonInterface_GetLimitDescriptionForId_Call
type LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call ¶ added in v0.6.0
LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLimitDescriptionsForFilter'
func (*LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) Return(loadControlLimitDescriptionDataTypes []model.LoadControlLimitDescriptionDataType, err error) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
func (*LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call) RunAndReturn(run func(filter model.LoadControlLimitDescriptionDataType) ([]model.LoadControlLimitDescriptionDataType, error)) *LoadControlCommonInterface_GetLimitDescriptionsForFilter_Call
type LoadControlServerInterface ¶ added in v0.6.0
LoadControlServerInterface is an autogenerated mock type for the LoadControlServerInterface type
func NewLoadControlServerInterface ¶ added in v0.6.0
func NewLoadControlServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *LoadControlServerInterface
NewLoadControlServerInterface creates a new instance of LoadControlServerInterface. 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 (*LoadControlServerInterface) AddLimitDescription ¶ added in v0.6.0
func (_mock *LoadControlServerInterface) AddLimitDescription(description model.LoadControlLimitDescriptionDataType) *model.LoadControlLimitIdType
AddLimitDescription provides a mock function for the type LoadControlServerInterface
func (*LoadControlServerInterface) EXPECT ¶ added in v0.6.0
func (_m *LoadControlServerInterface) EXPECT() *LoadControlServerInterface_Expecter
func (*LoadControlServerInterface) UpdateLimitDataForFilter ¶ added in v0.6.0
func (_mock *LoadControlServerInterface) UpdateLimitDataForFilter(data []api.LoadControlLimitDataForFilter, deleteSelector *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType) error
UpdateLimitDataForFilter provides a mock function for the type LoadControlServerInterface
func (*LoadControlServerInterface) UpdateLimitDataForIds ¶ added in v0.8.0
func (_mock *LoadControlServerInterface) UpdateLimitDataForIds(data []api.LoadControlLimitDataForID) error
UpdateLimitDataForIds provides a mock function for the type LoadControlServerInterface
type LoadControlServerInterface_AddLimitDescription_Call ¶ added in v0.6.0
LoadControlServerInterface_AddLimitDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLimitDescription'
func (*LoadControlServerInterface_AddLimitDescription_Call) Return ¶ added in v0.6.0
func (_c *LoadControlServerInterface_AddLimitDescription_Call) Return(loadControlLimitIdType *model.LoadControlLimitIdType) *LoadControlServerInterface_AddLimitDescription_Call
func (*LoadControlServerInterface_AddLimitDescription_Call) Run ¶ added in v0.6.0
func (_c *LoadControlServerInterface_AddLimitDescription_Call) Run(run func(description model.LoadControlLimitDescriptionDataType)) *LoadControlServerInterface_AddLimitDescription_Call
func (*LoadControlServerInterface_AddLimitDescription_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlServerInterface_AddLimitDescription_Call) RunAndReturn(run func(description model.LoadControlLimitDescriptionDataType) *model.LoadControlLimitIdType) *LoadControlServerInterface_AddLimitDescription_Call
type LoadControlServerInterface_Expecter ¶ added in v0.6.0
type LoadControlServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*LoadControlServerInterface_Expecter) AddLimitDescription ¶ added in v0.6.0
func (_e *LoadControlServerInterface_Expecter) AddLimitDescription(description interface{}) *LoadControlServerInterface_AddLimitDescription_Call
AddLimitDescription is a helper method to define mock.On call
- description model.LoadControlLimitDescriptionDataType
func (*LoadControlServerInterface_Expecter) UpdateLimitDataForFilter ¶ added in v0.6.0
func (_e *LoadControlServerInterface_Expecter) UpdateLimitDataForFilter(data interface{}, deleteSelector interface{}, deleteElements interface{}) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
UpdateLimitDataForFilter is a helper method to define mock.On call
- data []api.LoadControlLimitDataForFilter
- deleteSelector *model.LoadControlLimitListDataSelectorsType
- deleteElements *model.LoadControlLimitDataElementsType
func (*LoadControlServerInterface_Expecter) UpdateLimitDataForIds ¶ added in v0.8.0
func (_e *LoadControlServerInterface_Expecter) UpdateLimitDataForIds(data interface{}) *LoadControlServerInterface_UpdateLimitDataForIds_Call
UpdateLimitDataForIds is a helper method to define mock.On call
- data []api.LoadControlLimitDataForID
type LoadControlServerInterface_UpdateLimitDataForFilter_Call ¶ added in v0.6.0
LoadControlServerInterface_UpdateLimitDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLimitDataForFilter'
func (*LoadControlServerInterface_UpdateLimitDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *LoadControlServerInterface_UpdateLimitDataForFilter_Call) Run(run func(data []api.LoadControlLimitDataForFilter, deleteSelector *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType)) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
func (*LoadControlServerInterface_UpdateLimitDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *LoadControlServerInterface_UpdateLimitDataForFilter_Call) RunAndReturn(run func(data []api.LoadControlLimitDataForFilter, deleteSelector *model.LoadControlLimitListDataSelectorsType, deleteElements *model.LoadControlLimitDataElementsType) error) *LoadControlServerInterface_UpdateLimitDataForFilter_Call
type LoadControlServerInterface_UpdateLimitDataForIds_Call ¶ added in v0.8.0
LoadControlServerInterface_UpdateLimitDataForIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLimitDataForIds'
func (*LoadControlServerInterface_UpdateLimitDataForIds_Call) Run ¶ added in v0.8.0
func (_c *LoadControlServerInterface_UpdateLimitDataForIds_Call) Run(run func(data []api.LoadControlLimitDataForID)) *LoadControlServerInterface_UpdateLimitDataForIds_Call
func (*LoadControlServerInterface_UpdateLimitDataForIds_Call) RunAndReturn ¶ added in v0.8.0
func (_c *LoadControlServerInterface_UpdateLimitDataForIds_Call) RunAndReturn(run func(data []api.LoadControlLimitDataForID) error) *LoadControlServerInterface_UpdateLimitDataForIds_Call
type MeasurementClientInterface ¶ added in v0.6.0
MeasurementClientInterface is an autogenerated mock type for the MeasurementClientInterface type
func NewMeasurementClientInterface ¶ added in v0.6.0
func NewMeasurementClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MeasurementClientInterface
NewMeasurementClientInterface creates a new instance of MeasurementClientInterface. 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 (*MeasurementClientInterface) EXPECT ¶ added in v0.6.0
func (_m *MeasurementClientInterface) EXPECT() *MeasurementClientInterface_Expecter
func (*MeasurementClientInterface) RequestConstraints ¶ added in v0.6.0
func (_mock *MeasurementClientInterface) RequestConstraints(selector *model.MeasurementConstraintsListDataSelectorsType, elements *model.MeasurementConstraintsDataElementsType) (*model.MsgCounterType, error)
RequestConstraints provides a mock function for the type MeasurementClientInterface
func (*MeasurementClientInterface) RequestData ¶ added in v0.6.0
func (_mock *MeasurementClientInterface) RequestData(selector *model.MeasurementListDataSelectorsType, elements *model.MeasurementDataElementsType) (*model.MsgCounterType, error)
RequestData provides a mock function for the type MeasurementClientInterface
func (*MeasurementClientInterface) RequestDescriptions ¶ added in v0.6.0
func (_mock *MeasurementClientInterface) RequestDescriptions(selector *model.MeasurementDescriptionListDataSelectorsType, elements *model.MeasurementDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestDescriptions provides a mock function for the type MeasurementClientInterface
type MeasurementClientInterface_Expecter ¶ added in v0.6.0
type MeasurementClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MeasurementClientInterface_Expecter) RequestConstraints ¶ added in v0.6.0
func (_e *MeasurementClientInterface_Expecter) RequestConstraints(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestConstraints_Call
RequestConstraints is a helper method to define mock.On call
- selector *model.MeasurementConstraintsListDataSelectorsType
- elements *model.MeasurementConstraintsDataElementsType
func (*MeasurementClientInterface_Expecter) RequestData ¶ added in v0.6.0
func (_e *MeasurementClientInterface_Expecter) RequestData(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestData_Call
RequestData is a helper method to define mock.On call
- selector *model.MeasurementListDataSelectorsType
- elements *model.MeasurementDataElementsType
func (*MeasurementClientInterface_Expecter) RequestDescriptions ¶ added in v0.6.0
func (_e *MeasurementClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *MeasurementClientInterface_RequestDescriptions_Call
RequestDescriptions is a helper method to define mock.On call
- selector *model.MeasurementDescriptionListDataSelectorsType
- elements *model.MeasurementDescriptionDataElementsType
type MeasurementClientInterface_RequestConstraints_Call ¶ added in v0.6.0
MeasurementClientInterface_RequestConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestConstraints'
func (*MeasurementClientInterface_RequestConstraints_Call) Return ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestConstraints_Call
func (*MeasurementClientInterface_RequestConstraints_Call) Run ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestConstraints_Call) Run(run func(selector *model.MeasurementConstraintsListDataSelectorsType, elements *model.MeasurementConstraintsDataElementsType)) *MeasurementClientInterface_RequestConstraints_Call
func (*MeasurementClientInterface_RequestConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestConstraints_Call) RunAndReturn(run func(selector *model.MeasurementConstraintsListDataSelectorsType, elements *model.MeasurementConstraintsDataElementsType) (*model.MsgCounterType, error)) *MeasurementClientInterface_RequestConstraints_Call
type MeasurementClientInterface_RequestData_Call ¶ added in v0.6.0
MeasurementClientInterface_RequestData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestData'
func (*MeasurementClientInterface_RequestData_Call) Return ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestData_Call
func (*MeasurementClientInterface_RequestData_Call) Run ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestData_Call) Run(run func(selector *model.MeasurementListDataSelectorsType, elements *model.MeasurementDataElementsType)) *MeasurementClientInterface_RequestData_Call
func (*MeasurementClientInterface_RequestData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestData_Call) RunAndReturn(run func(selector *model.MeasurementListDataSelectorsType, elements *model.MeasurementDataElementsType) (*model.MsgCounterType, error)) *MeasurementClientInterface_RequestData_Call
type MeasurementClientInterface_RequestDescriptions_Call ¶ added in v0.6.0
MeasurementClientInterface_RequestDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestDescriptions'
func (*MeasurementClientInterface_RequestDescriptions_Call) Return ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *MeasurementClientInterface_RequestDescriptions_Call
func (*MeasurementClientInterface_RequestDescriptions_Call) Run ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestDescriptions_Call) Run(run func(selector *model.MeasurementDescriptionListDataSelectorsType, elements *model.MeasurementDescriptionDataElementsType)) *MeasurementClientInterface_RequestDescriptions_Call
func (*MeasurementClientInterface_RequestDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementClientInterface_RequestDescriptions_Call) RunAndReturn(run func(selector *model.MeasurementDescriptionListDataSelectorsType, elements *model.MeasurementDescriptionDataElementsType) (*model.MsgCounterType, error)) *MeasurementClientInterface_RequestDescriptions_Call
type MeasurementCommonInterface ¶ added in v0.6.0
MeasurementCommonInterface is an autogenerated mock type for the MeasurementCommonInterface type
func NewMeasurementCommonInterface ¶ added in v0.6.0
func NewMeasurementCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MeasurementCommonInterface
NewMeasurementCommonInterface creates a new instance of MeasurementCommonInterface. 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 (*MeasurementCommonInterface) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) CheckEventPayloadDataForFilter(payloadData any, filter any) bool
CheckEventPayloadDataForFilter provides a mock function for the type MeasurementCommonInterface
func (*MeasurementCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *MeasurementCommonInterface) EXPECT() *MeasurementCommonInterface_Expecter
func (*MeasurementCommonInterface) GetConstraintsForFilter ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) GetConstraintsForFilter(filter model.MeasurementConstraintsDataType) ([]model.MeasurementConstraintsDataType, error)
GetConstraintsForFilter provides a mock function for the type MeasurementCommonInterface
func (*MeasurementCommonInterface) GetDataForFilter ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) GetDataForFilter(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDataType, error)
GetDataForFilter provides a mock function for the type MeasurementCommonInterface
func (*MeasurementCommonInterface) GetDataForId ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) GetDataForId(measurementId model.MeasurementIdType) (*model.MeasurementDataType, error)
GetDataForId provides a mock function for the type MeasurementCommonInterface
func (*MeasurementCommonInterface) GetDescriptionForId ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) GetDescriptionForId(measurementId model.MeasurementIdType) (*model.MeasurementDescriptionDataType, error)
GetDescriptionForId provides a mock function for the type MeasurementCommonInterface
func (*MeasurementCommonInterface) GetDescriptionsForFilter ¶ added in v0.6.0
func (_mock *MeasurementCommonInterface) GetDescriptionsForFilter(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDescriptionDataType, error)
GetDescriptionsForFilter provides a mock function for the type MeasurementCommonInterface
type MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call ¶ added in v0.6.0
MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckEventPayloadDataForFilter'
func (*MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) Run(run func(payloadData any, filter any)) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
func (*MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call) RunAndReturn(run func(payloadData any, filter any) bool) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
type MeasurementCommonInterface_Expecter ¶ added in v0.6.0
type MeasurementCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MeasurementCommonInterface_Expecter) CheckEventPayloadDataForFilter ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) CheckEventPayloadDataForFilter(payloadData interface{}, filter interface{}) *MeasurementCommonInterface_CheckEventPayloadDataForFilter_Call
CheckEventPayloadDataForFilter is a helper method to define mock.On call
- payloadData any
- filter any
func (*MeasurementCommonInterface_Expecter) GetConstraintsForFilter ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) GetConstraintsForFilter(filter interface{}) *MeasurementCommonInterface_GetConstraintsForFilter_Call
GetConstraintsForFilter is a helper method to define mock.On call
- filter model.MeasurementConstraintsDataType
func (*MeasurementCommonInterface_Expecter) GetDataForFilter ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) GetDataForFilter(filter interface{}) *MeasurementCommonInterface_GetDataForFilter_Call
GetDataForFilter is a helper method to define mock.On call
- filter model.MeasurementDescriptionDataType
func (*MeasurementCommonInterface_Expecter) GetDataForId ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) GetDataForId(measurementId interface{}) *MeasurementCommonInterface_GetDataForId_Call
GetDataForId is a helper method to define mock.On call
- measurementId model.MeasurementIdType
func (*MeasurementCommonInterface_Expecter) GetDescriptionForId ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) GetDescriptionForId(measurementId interface{}) *MeasurementCommonInterface_GetDescriptionForId_Call
GetDescriptionForId is a helper method to define mock.On call
- measurementId model.MeasurementIdType
func (*MeasurementCommonInterface_Expecter) GetDescriptionsForFilter ¶ added in v0.6.0
func (_e *MeasurementCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
GetDescriptionsForFilter is a helper method to define mock.On call
- filter model.MeasurementDescriptionDataType
type MeasurementCommonInterface_GetConstraintsForFilter_Call ¶ added in v0.6.0
MeasurementCommonInterface_GetConstraintsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConstraintsForFilter'
func (*MeasurementCommonInterface_GetConstraintsForFilter_Call) Return ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) Return(measurementConstraintsDataTypes []model.MeasurementConstraintsDataType, err error) *MeasurementCommonInterface_GetConstraintsForFilter_Call
func (*MeasurementCommonInterface_GetConstraintsForFilter_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) Run(run func(filter model.MeasurementConstraintsDataType)) *MeasurementCommonInterface_GetConstraintsForFilter_Call
func (*MeasurementCommonInterface_GetConstraintsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetConstraintsForFilter_Call) RunAndReturn(run func(filter model.MeasurementConstraintsDataType) ([]model.MeasurementConstraintsDataType, error)) *MeasurementCommonInterface_GetConstraintsForFilter_Call
type MeasurementCommonInterface_GetDataForFilter_Call ¶ added in v0.6.0
MeasurementCommonInterface_GetDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataForFilter'
func (*MeasurementCommonInterface_GetDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForFilter_Call) Return(measurementDataTypes []model.MeasurementDataType, err error) *MeasurementCommonInterface_GetDataForFilter_Call
func (*MeasurementCommonInterface_GetDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForFilter_Call) Run(run func(filter model.MeasurementDescriptionDataType)) *MeasurementCommonInterface_GetDataForFilter_Call
func (*MeasurementCommonInterface_GetDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForFilter_Call) RunAndReturn(run func(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDataType, error)) *MeasurementCommonInterface_GetDataForFilter_Call
type MeasurementCommonInterface_GetDataForId_Call ¶ added in v0.6.0
MeasurementCommonInterface_GetDataForId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataForId'
func (*MeasurementCommonInterface_GetDataForId_Call) Return ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForId_Call) Return(measurementDataType *model.MeasurementDataType, err error) *MeasurementCommonInterface_GetDataForId_Call
func (*MeasurementCommonInterface_GetDataForId_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForId_Call) Run(run func(measurementId model.MeasurementIdType)) *MeasurementCommonInterface_GetDataForId_Call
func (*MeasurementCommonInterface_GetDataForId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDataForId_Call) RunAndReturn(run func(measurementId model.MeasurementIdType) (*model.MeasurementDataType, error)) *MeasurementCommonInterface_GetDataForId_Call
type MeasurementCommonInterface_GetDescriptionForId_Call ¶ added in v0.6.0
MeasurementCommonInterface_GetDescriptionForId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionForId'
func (*MeasurementCommonInterface_GetDescriptionForId_Call) Return ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) Return(measurementDescriptionDataType *model.MeasurementDescriptionDataType, err error) *MeasurementCommonInterface_GetDescriptionForId_Call
func (*MeasurementCommonInterface_GetDescriptionForId_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) Run(run func(measurementId model.MeasurementIdType)) *MeasurementCommonInterface_GetDescriptionForId_Call
func (*MeasurementCommonInterface_GetDescriptionForId_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionForId_Call) RunAndReturn(run func(measurementId model.MeasurementIdType) (*model.MeasurementDescriptionDataType, error)) *MeasurementCommonInterface_GetDescriptionForId_Call
type MeasurementCommonInterface_GetDescriptionsForFilter_Call ¶ added in v0.6.0
MeasurementCommonInterface_GetDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionsForFilter'
func (*MeasurementCommonInterface_GetDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) Return(measurementDescriptionDataTypes []model.MeasurementDescriptionDataType, err error) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
func (*MeasurementCommonInterface_GetDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.MeasurementDescriptionDataType)) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
func (*MeasurementCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(run func(filter model.MeasurementDescriptionDataType) ([]model.MeasurementDescriptionDataType, error)) *MeasurementCommonInterface_GetDescriptionsForFilter_Call
type MeasurementServerInterface ¶ added in v0.6.0
MeasurementServerInterface is an autogenerated mock type for the MeasurementServerInterface type
func NewMeasurementServerInterface ¶ added in v0.6.0
func NewMeasurementServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MeasurementServerInterface
NewMeasurementServerInterface creates a new instance of MeasurementServerInterface. 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 (*MeasurementServerInterface) AddDescription ¶ added in v0.6.0
func (_mock *MeasurementServerInterface) AddDescription(description model.MeasurementDescriptionDataType) *model.MeasurementIdType
AddDescription provides a mock function for the type MeasurementServerInterface
func (*MeasurementServerInterface) EXPECT ¶ added in v0.6.0
func (_m *MeasurementServerInterface) EXPECT() *MeasurementServerInterface_Expecter
func (*MeasurementServerInterface) UpdateDataForFilters ¶ added in v0.8.0
func (_mock *MeasurementServerInterface) UpdateDataForFilters(data []api.MeasurementDataForFilter, deleteSelector *model.MeasurementListDataSelectorsType, deleteElements *model.MeasurementDataElementsType) error
UpdateDataForFilters provides a mock function for the type MeasurementServerInterface
func (*MeasurementServerInterface) UpdateDataForIds ¶ added in v0.8.0
func (_mock *MeasurementServerInterface) UpdateDataForIds(data []api.MeasurementDataForID) error
UpdateDataForIds provides a mock function for the type MeasurementServerInterface
type MeasurementServerInterface_AddDescription_Call ¶ added in v0.6.0
MeasurementServerInterface_AddDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDescription'
func (*MeasurementServerInterface_AddDescription_Call) Return ¶ added in v0.6.0
func (_c *MeasurementServerInterface_AddDescription_Call) Return(measurementIdType *model.MeasurementIdType) *MeasurementServerInterface_AddDescription_Call
func (*MeasurementServerInterface_AddDescription_Call) Run ¶ added in v0.6.0
func (_c *MeasurementServerInterface_AddDescription_Call) Run(run func(description model.MeasurementDescriptionDataType)) *MeasurementServerInterface_AddDescription_Call
func (*MeasurementServerInterface_AddDescription_Call) RunAndReturn ¶ added in v0.6.0
func (_c *MeasurementServerInterface_AddDescription_Call) RunAndReturn(run func(description model.MeasurementDescriptionDataType) *model.MeasurementIdType) *MeasurementServerInterface_AddDescription_Call
type MeasurementServerInterface_Expecter ¶ added in v0.6.0
type MeasurementServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MeasurementServerInterface_Expecter) AddDescription ¶ added in v0.6.0
func (_e *MeasurementServerInterface_Expecter) AddDescription(description interface{}) *MeasurementServerInterface_AddDescription_Call
AddDescription is a helper method to define mock.On call
- description model.MeasurementDescriptionDataType
func (*MeasurementServerInterface_Expecter) UpdateDataForFilters ¶ added in v0.8.0
func (_e *MeasurementServerInterface_Expecter) UpdateDataForFilters(data interface{}, deleteSelector interface{}, deleteElements interface{}) *MeasurementServerInterface_UpdateDataForFilters_Call
UpdateDataForFilters is a helper method to define mock.On call
- data []api.MeasurementDataForFilter
- deleteSelector *model.MeasurementListDataSelectorsType
- deleteElements *model.MeasurementDataElementsType
func (*MeasurementServerInterface_Expecter) UpdateDataForIds ¶ added in v0.8.0
func (_e *MeasurementServerInterface_Expecter) UpdateDataForIds(data interface{}) *MeasurementServerInterface_UpdateDataForIds_Call
UpdateDataForIds is a helper method to define mock.On call
- data []api.MeasurementDataForID
type MeasurementServerInterface_UpdateDataForFilters_Call ¶ added in v0.8.0
MeasurementServerInterface_UpdateDataForFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataForFilters'
func (*MeasurementServerInterface_UpdateDataForFilters_Call) Run ¶ added in v0.8.0
func (_c *MeasurementServerInterface_UpdateDataForFilters_Call) Run(run func(data []api.MeasurementDataForFilter, deleteSelector *model.MeasurementListDataSelectorsType, deleteElements *model.MeasurementDataElementsType)) *MeasurementServerInterface_UpdateDataForFilters_Call
func (*MeasurementServerInterface_UpdateDataForFilters_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MeasurementServerInterface_UpdateDataForFilters_Call) RunAndReturn(run func(data []api.MeasurementDataForFilter, deleteSelector *model.MeasurementListDataSelectorsType, deleteElements *model.MeasurementDataElementsType) error) *MeasurementServerInterface_UpdateDataForFilters_Call
type MeasurementServerInterface_UpdateDataForIds_Call ¶ added in v0.8.0
MeasurementServerInterface_UpdateDataForIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataForIds'
func (*MeasurementServerInterface_UpdateDataForIds_Call) Return ¶ added in v0.8.0
func (_c *MeasurementServerInterface_UpdateDataForIds_Call) Return(err error) *MeasurementServerInterface_UpdateDataForIds_Call
func (*MeasurementServerInterface_UpdateDataForIds_Call) Run ¶ added in v0.8.0
func (_c *MeasurementServerInterface_UpdateDataForIds_Call) Run(run func(data []api.MeasurementDataForID)) *MeasurementServerInterface_UpdateDataForIds_Call
func (*MeasurementServerInterface_UpdateDataForIds_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MeasurementServerInterface_UpdateDataForIds_Call) RunAndReturn(run func(data []api.MeasurementDataForID) error) *MeasurementServerInterface_UpdateDataForIds_Call
type ServiceInterface ¶
ServiceInterface is an autogenerated mock type for the ServiceInterface type
func NewServiceInterface ¶
func NewServiceInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceInterface
NewServiceInterface creates a new instance of ServiceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceInterface) AddUseCase ¶ added in v0.6.0
func (_mock *ServiceInterface) AddUseCase(useCase api.UseCaseInterface) error
AddUseCase provides a mock function for the type ServiceInterface
func (*ServiceInterface) CancelPairing ¶ added in v0.8.0
func (_mock *ServiceInterface) CancelPairing(identity api0.ServiceIdentity)
CancelPairing provides a mock function for the type ServiceInterface
func (*ServiceInterface) Configuration ¶
func (_mock *ServiceInterface) Configuration() *api.Configuration
Configuration provides a mock function for the type ServiceInterface
func (*ServiceInterface) DisconnectService ¶ added in v0.8.0
func (_mock *ServiceInterface) DisconnectService(identity api0.ServiceIdentity, reason string)
DisconnectService provides a mock function for the type ServiceInterface
func (*ServiceInterface) EXPECT ¶
func (_m *ServiceInterface) EXPECT() *ServiceInterface_Expecter
func (*ServiceInterface) GetActiveAnnouncements ¶ added in v0.8.0
func (_mock *ServiceInterface) GetActiveAnnouncements() []string
GetActiveAnnouncements provides a mock function for the type ServiceInterface
func (*ServiceInterface) GetLocalCertificateFingerprint ¶ added in v0.8.0
func (_mock *ServiceInterface) GetLocalCertificateFingerprint() (string, error)
GetLocalCertificateFingerprint provides a mock function for the type ServiceInterface
func (*ServiceInterface) GetTrustedAddCuDevice ¶ added in v0.8.0
func (_mock *ServiceInterface) GetTrustedAddCuDevice() *api0.ServiceDetails
GetTrustedAddCuDevice provides a mock function for the type ServiceInterface
func (*ServiceInterface) IsAnnouncingTo ¶ added in v0.8.0
func (_mock *ServiceInterface) IsAnnouncingTo(shipID string) bool
IsAnnouncingTo provides a mock function for the type ServiceInterface
func (*ServiceInterface) IsAutoAcceptEnabled ¶ added in v0.6.0
func (_mock *ServiceInterface) IsAutoAcceptEnabled() bool
IsAutoAcceptEnabled provides a mock function for the type ServiceInterface
func (*ServiceInterface) IsRunning ¶ added in v0.8.0
func (_mock *ServiceInterface) IsRunning() bool
IsRunning provides a mock function for the type ServiceInterface
func (*ServiceInterface) LocalDevice ¶
func (_mock *ServiceInterface) LocalDevice() api1.DeviceLocalInterface
LocalDevice provides a mock function for the type ServiceInterface
func (*ServiceInterface) LocalService ¶
func (_mock *ServiceInterface) LocalService() *api0.ServiceDetails
LocalService provides a mock function for the type ServiceInterface
func (*ServiceInterface) PairingDetailFor ¶ added in v0.8.0
func (_mock *ServiceInterface) PairingDetailFor(identity api0.ServiceIdentity) *api0.ConnectionStateDetail
PairingDetailFor provides a mock function for the type ServiceInterface
func (*ServiceInterface) QRCodeText ¶ added in v0.8.0
func (_mock *ServiceInterface) QRCodeText() (string, error)
QRCodeText provides a mock function for the type ServiceInterface
func (*ServiceInterface) RegisterRemoteService ¶ added in v0.8.0
func (_mock *ServiceInterface) RegisterRemoteService(identity api0.ServiceIdentity)
RegisterRemoteService provides a mock function for the type ServiceInterface
func (*ServiceInterface) RemoteServiceFor ¶ added in v0.8.0
func (_mock *ServiceInterface) RemoteServiceFor(identity api0.ServiceIdentity) *api0.ServiceDetails
RemoteServiceFor provides a mock function for the type ServiceInterface
func (*ServiceInterface) SetAutoAccept ¶
func (_mock *ServiceInterface) SetAutoAccept(value bool)
SetAutoAccept provides a mock function for the type ServiceInterface
func (*ServiceInterface) SetLogging ¶
func (_mock *ServiceInterface) SetLogging(logger logging.LoggingInterface)
SetLogging provides a mock function for the type ServiceInterface
func (*ServiceInterface) Setup ¶
func (_mock *ServiceInterface) Setup() error
Setup provides a mock function for the type ServiceInterface
func (*ServiceInterface) Shutdown ¶
func (_mock *ServiceInterface) Shutdown()
Shutdown provides a mock function for the type ServiceInterface
func (*ServiceInterface) Start ¶
func (_mock *ServiceInterface) Start() error
Start provides a mock function for the type ServiceInterface
func (*ServiceInterface) StartAnnouncementTo ¶ added in v0.8.0
func (_mock *ServiceInterface) StartAnnouncementTo(target api0.PairingTarget) error
StartAnnouncementTo provides a mock function for the type ServiceInterface
func (*ServiceInterface) StopAnnouncementTo ¶ added in v0.8.0
func (_mock *ServiceInterface) StopAnnouncementTo(shipID string) error
StopAnnouncementTo provides a mock function for the type ServiceInterface
func (*ServiceInterface) UnregisterRemoteService ¶ added in v0.8.0
func (_mock *ServiceInterface) UnregisterRemoteService(identity api0.ServiceIdentity)
UnregisterRemoteService provides a mock function for the type ServiceInterface
func (*ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests ¶
func (_mock *ServiceInterface) UserIsAbleToApproveOrCancelPairingRequests(allow bool)
UserIsAbleToApproveOrCancelPairingRequests provides a mock function for the type ServiceInterface
type ServiceInterface_AddUseCase_Call ¶ added in v0.6.0
ServiceInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*ServiceInterface_AddUseCase_Call) Return ¶ added in v0.6.0
func (_c *ServiceInterface_AddUseCase_Call) Return(err error) *ServiceInterface_AddUseCase_Call
func (*ServiceInterface_AddUseCase_Call) Run ¶ added in v0.6.0
func (_c *ServiceInterface_AddUseCase_Call) Run(run func(useCase api.UseCaseInterface)) *ServiceInterface_AddUseCase_Call
func (*ServiceInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ServiceInterface_AddUseCase_Call) RunAndReturn(run func(useCase api.UseCaseInterface) error) *ServiceInterface_AddUseCase_Call
type ServiceInterface_CancelPairing_Call ¶ added in v0.8.0
ServiceInterface_CancelPairing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelPairing'
func (*ServiceInterface_CancelPairing_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_CancelPairing_Call) Return() *ServiceInterface_CancelPairing_Call
func (*ServiceInterface_CancelPairing_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_CancelPairing_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_CancelPairing_Call
func (*ServiceInterface_CancelPairing_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_CancelPairing_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_CancelPairing_Call
type ServiceInterface_Configuration_Call ¶
ServiceInterface_Configuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Configuration'
func (*ServiceInterface_Configuration_Call) Return ¶
func (_c *ServiceInterface_Configuration_Call) Return(configuration *api.Configuration) *ServiceInterface_Configuration_Call
func (*ServiceInterface_Configuration_Call) Run ¶
func (_c *ServiceInterface_Configuration_Call) Run(run func()) *ServiceInterface_Configuration_Call
func (*ServiceInterface_Configuration_Call) RunAndReturn ¶
func (_c *ServiceInterface_Configuration_Call) RunAndReturn(run func() *api.Configuration) *ServiceInterface_Configuration_Call
type ServiceInterface_DisconnectService_Call ¶ added in v0.8.0
ServiceInterface_DisconnectService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectService'
func (*ServiceInterface_DisconnectService_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_DisconnectService_Call) Return() *ServiceInterface_DisconnectService_Call
func (*ServiceInterface_DisconnectService_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_DisconnectService_Call) Run(run func(identity api0.ServiceIdentity, reason string)) *ServiceInterface_DisconnectService_Call
func (*ServiceInterface_DisconnectService_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_DisconnectService_Call) RunAndReturn(run func(identity api0.ServiceIdentity, reason string)) *ServiceInterface_DisconnectService_Call
type ServiceInterface_Expecter ¶
type ServiceInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceInterface_Expecter) AddUseCase ¶ added in v0.6.0
func (_e *ServiceInterface_Expecter) AddUseCase(useCase interface{}) *ServiceInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
- useCase api.UseCaseInterface
func (*ServiceInterface_Expecter) CancelPairing ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) CancelPairing(identity interface{}) *ServiceInterface_CancelPairing_Call
CancelPairing is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceInterface_Expecter) Configuration ¶
func (_e *ServiceInterface_Expecter) Configuration() *ServiceInterface_Configuration_Call
Configuration is a helper method to define mock.On call
func (*ServiceInterface_Expecter) DisconnectService ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) DisconnectService(identity interface{}, reason interface{}) *ServiceInterface_DisconnectService_Call
DisconnectService is a helper method to define mock.On call
- identity api0.ServiceIdentity
- reason string
func (*ServiceInterface_Expecter) GetActiveAnnouncements ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) GetActiveAnnouncements() *ServiceInterface_GetActiveAnnouncements_Call
GetActiveAnnouncements is a helper method to define mock.On call
func (*ServiceInterface_Expecter) GetLocalCertificateFingerprint ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) GetLocalCertificateFingerprint() *ServiceInterface_GetLocalCertificateFingerprint_Call
GetLocalCertificateFingerprint is a helper method to define mock.On call
func (*ServiceInterface_Expecter) GetTrustedAddCuDevice ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) GetTrustedAddCuDevice() *ServiceInterface_GetTrustedAddCuDevice_Call
GetTrustedAddCuDevice is a helper method to define mock.On call
func (*ServiceInterface_Expecter) IsAnnouncingTo ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) IsAnnouncingTo(shipID interface{}) *ServiceInterface_IsAnnouncingTo_Call
IsAnnouncingTo is a helper method to define mock.On call
- shipID string
func (*ServiceInterface_Expecter) IsAutoAcceptEnabled ¶ added in v0.6.0
func (_e *ServiceInterface_Expecter) IsAutoAcceptEnabled() *ServiceInterface_IsAutoAcceptEnabled_Call
IsAutoAcceptEnabled is a helper method to define mock.On call
func (*ServiceInterface_Expecter) IsRunning ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) IsRunning() *ServiceInterface_IsRunning_Call
IsRunning is a helper method to define mock.On call
func (*ServiceInterface_Expecter) LocalDevice ¶
func (_e *ServiceInterface_Expecter) LocalDevice() *ServiceInterface_LocalDevice_Call
LocalDevice is a helper method to define mock.On call
func (*ServiceInterface_Expecter) LocalService ¶
func (_e *ServiceInterface_Expecter) LocalService() *ServiceInterface_LocalService_Call
LocalService is a helper method to define mock.On call
func (*ServiceInterface_Expecter) PairingDetailFor ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) PairingDetailFor(identity interface{}) *ServiceInterface_PairingDetailFor_Call
PairingDetailFor is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceInterface_Expecter) QRCodeText ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) QRCodeText() *ServiceInterface_QRCodeText_Call
QRCodeText is a helper method to define mock.On call
func (*ServiceInterface_Expecter) RegisterRemoteService ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) RegisterRemoteService(identity interface{}) *ServiceInterface_RegisterRemoteService_Call
RegisterRemoteService is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceInterface_Expecter) RemoteServiceFor ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) RemoteServiceFor(identity interface{}) *ServiceInterface_RemoteServiceFor_Call
RemoteServiceFor is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceInterface_Expecter) SetAutoAccept ¶
func (_e *ServiceInterface_Expecter) SetAutoAccept(value interface{}) *ServiceInterface_SetAutoAccept_Call
SetAutoAccept is a helper method to define mock.On call
- value bool
func (*ServiceInterface_Expecter) SetLogging ¶
func (_e *ServiceInterface_Expecter) SetLogging(logger interface{}) *ServiceInterface_SetLogging_Call
SetLogging is a helper method to define mock.On call
- logger logging.LoggingInterface
func (*ServiceInterface_Expecter) Setup ¶
func (_e *ServiceInterface_Expecter) Setup() *ServiceInterface_Setup_Call
Setup is a helper method to define mock.On call
func (*ServiceInterface_Expecter) Shutdown ¶
func (_e *ServiceInterface_Expecter) Shutdown() *ServiceInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*ServiceInterface_Expecter) Start ¶
func (_e *ServiceInterface_Expecter) Start() *ServiceInterface_Start_Call
Start is a helper method to define mock.On call
func (*ServiceInterface_Expecter) StartAnnouncementTo ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) StartAnnouncementTo(target interface{}) *ServiceInterface_StartAnnouncementTo_Call
StartAnnouncementTo is a helper method to define mock.On call
- target api0.PairingTarget
func (*ServiceInterface_Expecter) StopAnnouncementTo ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) StopAnnouncementTo(shipID interface{}) *ServiceInterface_StopAnnouncementTo_Call
StopAnnouncementTo is a helper method to define mock.On call
- shipID string
func (*ServiceInterface_Expecter) UnregisterRemoteService ¶ added in v0.8.0
func (_e *ServiceInterface_Expecter) UnregisterRemoteService(identity interface{}) *ServiceInterface_UnregisterRemoteService_Call
UnregisterRemoteService is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests ¶
func (_e *ServiceInterface_Expecter) UserIsAbleToApproveOrCancelPairingRequests(allow interface{}) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
UserIsAbleToApproveOrCancelPairingRequests is a helper method to define mock.On call
- allow bool
type ServiceInterface_GetActiveAnnouncements_Call ¶ added in v0.8.0
ServiceInterface_GetActiveAnnouncements_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActiveAnnouncements'
func (*ServiceInterface_GetActiveAnnouncements_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_GetActiveAnnouncements_Call) Return(strings []string) *ServiceInterface_GetActiveAnnouncements_Call
func (*ServiceInterface_GetActiveAnnouncements_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_GetActiveAnnouncements_Call) Run(run func()) *ServiceInterface_GetActiveAnnouncements_Call
func (*ServiceInterface_GetActiveAnnouncements_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_GetActiveAnnouncements_Call) RunAndReturn(run func() []string) *ServiceInterface_GetActiveAnnouncements_Call
type ServiceInterface_GetLocalCertificateFingerprint_Call ¶ added in v0.8.0
ServiceInterface_GetLocalCertificateFingerprint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalCertificateFingerprint'
func (*ServiceInterface_GetLocalCertificateFingerprint_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) Return(s string, err error) *ServiceInterface_GetLocalCertificateFingerprint_Call
func (*ServiceInterface_GetLocalCertificateFingerprint_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) Run(run func()) *ServiceInterface_GetLocalCertificateFingerprint_Call
func (*ServiceInterface_GetLocalCertificateFingerprint_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_GetLocalCertificateFingerprint_Call) RunAndReturn(run func() (string, error)) *ServiceInterface_GetLocalCertificateFingerprint_Call
type ServiceInterface_GetTrustedAddCuDevice_Call ¶ added in v0.8.0
ServiceInterface_GetTrustedAddCuDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTrustedAddCuDevice'
func (*ServiceInterface_GetTrustedAddCuDevice_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_GetTrustedAddCuDevice_Call
func (*ServiceInterface_GetTrustedAddCuDevice_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) Run(run func()) *ServiceInterface_GetTrustedAddCuDevice_Call
func (*ServiceInterface_GetTrustedAddCuDevice_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_GetTrustedAddCuDevice_Call) RunAndReturn(run func() *api0.ServiceDetails) *ServiceInterface_GetTrustedAddCuDevice_Call
type ServiceInterface_IsAnnouncingTo_Call ¶ added in v0.8.0
ServiceInterface_IsAnnouncingTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAnnouncingTo'
func (*ServiceInterface_IsAnnouncingTo_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_IsAnnouncingTo_Call) Return(b bool) *ServiceInterface_IsAnnouncingTo_Call
func (*ServiceInterface_IsAnnouncingTo_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_IsAnnouncingTo_Call) Run(run func(shipID string)) *ServiceInterface_IsAnnouncingTo_Call
func (*ServiceInterface_IsAnnouncingTo_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_IsAnnouncingTo_Call) RunAndReturn(run func(shipID string) bool) *ServiceInterface_IsAnnouncingTo_Call
type ServiceInterface_IsAutoAcceptEnabled_Call ¶ added in v0.6.0
ServiceInterface_IsAutoAcceptEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAutoAcceptEnabled'
func (*ServiceInterface_IsAutoAcceptEnabled_Call) Return ¶ added in v0.6.0
func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) Return(b bool) *ServiceInterface_IsAutoAcceptEnabled_Call
func (*ServiceInterface_IsAutoAcceptEnabled_Call) Run ¶ added in v0.6.0
func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) Run(run func()) *ServiceInterface_IsAutoAcceptEnabled_Call
func (*ServiceInterface_IsAutoAcceptEnabled_Call) RunAndReturn ¶ added in v0.6.0
func (_c *ServiceInterface_IsAutoAcceptEnabled_Call) RunAndReturn(run func() bool) *ServiceInterface_IsAutoAcceptEnabled_Call
type ServiceInterface_IsRunning_Call ¶ added in v0.8.0
ServiceInterface_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'
func (*ServiceInterface_IsRunning_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_IsRunning_Call) Return(b bool) *ServiceInterface_IsRunning_Call
func (*ServiceInterface_IsRunning_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_IsRunning_Call) Run(run func()) *ServiceInterface_IsRunning_Call
func (*ServiceInterface_IsRunning_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_IsRunning_Call) RunAndReturn(run func() bool) *ServiceInterface_IsRunning_Call
type ServiceInterface_LocalDevice_Call ¶
ServiceInterface_LocalDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalDevice'
func (*ServiceInterface_LocalDevice_Call) Return ¶
func (_c *ServiceInterface_LocalDevice_Call) Return(deviceLocalInterface api1.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
func (*ServiceInterface_LocalDevice_Call) Run ¶
func (_c *ServiceInterface_LocalDevice_Call) Run(run func()) *ServiceInterface_LocalDevice_Call
func (*ServiceInterface_LocalDevice_Call) RunAndReturn ¶
func (_c *ServiceInterface_LocalDevice_Call) RunAndReturn(run func() api1.DeviceLocalInterface) *ServiceInterface_LocalDevice_Call
type ServiceInterface_LocalService_Call ¶
ServiceInterface_LocalService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LocalService'
func (*ServiceInterface_LocalService_Call) Return ¶
func (_c *ServiceInterface_LocalService_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_LocalService_Call
func (*ServiceInterface_LocalService_Call) Run ¶
func (_c *ServiceInterface_LocalService_Call) Run(run func()) *ServiceInterface_LocalService_Call
func (*ServiceInterface_LocalService_Call) RunAndReturn ¶
func (_c *ServiceInterface_LocalService_Call) RunAndReturn(run func() *api0.ServiceDetails) *ServiceInterface_LocalService_Call
type ServiceInterface_PairingDetailFor_Call ¶ added in v0.8.0
ServiceInterface_PairingDetailFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PairingDetailFor'
func (*ServiceInterface_PairingDetailFor_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_PairingDetailFor_Call) Return(connectionStateDetail *api0.ConnectionStateDetail) *ServiceInterface_PairingDetailFor_Call
func (*ServiceInterface_PairingDetailFor_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_PairingDetailFor_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_PairingDetailFor_Call
func (*ServiceInterface_PairingDetailFor_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_PairingDetailFor_Call) RunAndReturn(run func(identity api0.ServiceIdentity) *api0.ConnectionStateDetail) *ServiceInterface_PairingDetailFor_Call
type ServiceInterface_QRCodeText_Call ¶ added in v0.8.0
ServiceInterface_QRCodeText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QRCodeText'
func (*ServiceInterface_QRCodeText_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_QRCodeText_Call) Return(s string, err error) *ServiceInterface_QRCodeText_Call
func (*ServiceInterface_QRCodeText_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_QRCodeText_Call) Run(run func()) *ServiceInterface_QRCodeText_Call
func (*ServiceInterface_QRCodeText_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_QRCodeText_Call) RunAndReturn(run func() (string, error)) *ServiceInterface_QRCodeText_Call
type ServiceInterface_RegisterRemoteService_Call ¶ added in v0.8.0
ServiceInterface_RegisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterRemoteService'
func (*ServiceInterface_RegisterRemoteService_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_RegisterRemoteService_Call) Return() *ServiceInterface_RegisterRemoteService_Call
func (*ServiceInterface_RegisterRemoteService_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_RegisterRemoteService_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_RegisterRemoteService_Call
func (*ServiceInterface_RegisterRemoteService_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_RegisterRemoteService_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_RegisterRemoteService_Call
type ServiceInterface_RemoteServiceFor_Call ¶ added in v0.8.0
ServiceInterface_RemoteServiceFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceFor'
func (*ServiceInterface_RemoteServiceFor_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_RemoteServiceFor_Call) Return(serviceDetails *api0.ServiceDetails) *ServiceInterface_RemoteServiceFor_Call
func (*ServiceInterface_RemoteServiceFor_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_RemoteServiceFor_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_RemoteServiceFor_Call
func (*ServiceInterface_RemoteServiceFor_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_RemoteServiceFor_Call) RunAndReturn(run func(identity api0.ServiceIdentity) *api0.ServiceDetails) *ServiceInterface_RemoteServiceFor_Call
type ServiceInterface_SetAutoAccept_Call ¶
ServiceInterface_SetAutoAccept_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoAccept'
func (*ServiceInterface_SetAutoAccept_Call) Return ¶
func (_c *ServiceInterface_SetAutoAccept_Call) Return() *ServiceInterface_SetAutoAccept_Call
func (*ServiceInterface_SetAutoAccept_Call) Run ¶
func (_c *ServiceInterface_SetAutoAccept_Call) Run(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
func (*ServiceInterface_SetAutoAccept_Call) RunAndReturn ¶
func (_c *ServiceInterface_SetAutoAccept_Call) RunAndReturn(run func(value bool)) *ServiceInterface_SetAutoAccept_Call
type ServiceInterface_SetLogging_Call ¶
ServiceInterface_SetLogging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogging'
func (*ServiceInterface_SetLogging_Call) Return ¶
func (_c *ServiceInterface_SetLogging_Call) Return() *ServiceInterface_SetLogging_Call
func (*ServiceInterface_SetLogging_Call) Run ¶
func (_c *ServiceInterface_SetLogging_Call) Run(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
func (*ServiceInterface_SetLogging_Call) RunAndReturn ¶
func (_c *ServiceInterface_SetLogging_Call) RunAndReturn(run func(logger logging.LoggingInterface)) *ServiceInterface_SetLogging_Call
type ServiceInterface_Setup_Call ¶
ServiceInterface_Setup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Setup'
func (*ServiceInterface_Setup_Call) Return ¶
func (_c *ServiceInterface_Setup_Call) Return(err error) *ServiceInterface_Setup_Call
func (*ServiceInterface_Setup_Call) Run ¶
func (_c *ServiceInterface_Setup_Call) Run(run func()) *ServiceInterface_Setup_Call
func (*ServiceInterface_Setup_Call) RunAndReturn ¶
func (_c *ServiceInterface_Setup_Call) RunAndReturn(run func() error) *ServiceInterface_Setup_Call
type ServiceInterface_Shutdown_Call ¶
ServiceInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*ServiceInterface_Shutdown_Call) Return ¶
func (_c *ServiceInterface_Shutdown_Call) Return() *ServiceInterface_Shutdown_Call
func (*ServiceInterface_Shutdown_Call) Run ¶
func (_c *ServiceInterface_Shutdown_Call) Run(run func()) *ServiceInterface_Shutdown_Call
func (*ServiceInterface_Shutdown_Call) RunAndReturn ¶
func (_c *ServiceInterface_Shutdown_Call) RunAndReturn(run func()) *ServiceInterface_Shutdown_Call
type ServiceInterface_StartAnnouncementTo_Call ¶ added in v0.8.0
ServiceInterface_StartAnnouncementTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAnnouncementTo'
func (*ServiceInterface_StartAnnouncementTo_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_StartAnnouncementTo_Call) Return(err error) *ServiceInterface_StartAnnouncementTo_Call
func (*ServiceInterface_StartAnnouncementTo_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_StartAnnouncementTo_Call) Run(run func(target api0.PairingTarget)) *ServiceInterface_StartAnnouncementTo_Call
func (*ServiceInterface_StartAnnouncementTo_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_StartAnnouncementTo_Call) RunAndReturn(run func(target api0.PairingTarget) error) *ServiceInterface_StartAnnouncementTo_Call
type ServiceInterface_Start_Call ¶
ServiceInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ServiceInterface_Start_Call) Return ¶
func (_c *ServiceInterface_Start_Call) Return(err error) *ServiceInterface_Start_Call
func (*ServiceInterface_Start_Call) Run ¶
func (_c *ServiceInterface_Start_Call) Run(run func()) *ServiceInterface_Start_Call
func (*ServiceInterface_Start_Call) RunAndReturn ¶
func (_c *ServiceInterface_Start_Call) RunAndReturn(run func() error) *ServiceInterface_Start_Call
type ServiceInterface_StopAnnouncementTo_Call ¶ added in v0.8.0
ServiceInterface_StopAnnouncementTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopAnnouncementTo'
func (*ServiceInterface_StopAnnouncementTo_Call) Return ¶ added in v0.8.0
func (_c *ServiceInterface_StopAnnouncementTo_Call) Return(err error) *ServiceInterface_StopAnnouncementTo_Call
func (*ServiceInterface_StopAnnouncementTo_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_StopAnnouncementTo_Call) Run(run func(shipID string)) *ServiceInterface_StopAnnouncementTo_Call
func (*ServiceInterface_StopAnnouncementTo_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_StopAnnouncementTo_Call) RunAndReturn(run func(shipID string) error) *ServiceInterface_StopAnnouncementTo_Call
type ServiceInterface_UnregisterRemoteService_Call ¶ added in v0.8.0
ServiceInterface_UnregisterRemoteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterRemoteService'
func (*ServiceInterface_UnregisterRemoteService_Call) Run ¶ added in v0.8.0
func (_c *ServiceInterface_UnregisterRemoteService_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceInterface_UnregisterRemoteService_Call
func (*ServiceInterface_UnregisterRemoteService_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceInterface_UnregisterRemoteService_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceInterface_UnregisterRemoteService_Call
type ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call ¶
ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserIsAbleToApproveOrCancelPairingRequests'
func (*ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run ¶
func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) Run(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
func (*ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn ¶
func (_c *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call) RunAndReturn(run func(allow bool)) *ServiceInterface_UserIsAbleToApproveOrCancelPairingRequests_Call
type ServiceReaderInterface ¶
ServiceReaderInterface is an autogenerated mock type for the ServiceReaderInterface type
func NewServiceReaderInterface ¶
func NewServiceReaderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *ServiceReaderInterface
NewServiceReaderInterface creates a new instance of ServiceReaderInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceReaderInterface) EXPECT ¶
func (_m *ServiceReaderInterface) EXPECT() *ServiceReaderInterface_Expecter
func (*ServiceReaderInterface) RemoteServiceConnected ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) RemoteServiceConnected(service api.ServiceInterface, identity api0.ServiceIdentity)
RemoteServiceConnected provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) RemoteServiceDisconnected ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) RemoteServiceDisconnected(service api.ServiceInterface, identity api0.ServiceIdentity)
RemoteServiceDisconnected provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) ServiceAutoTrustFailed ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) ServiceAutoTrustFailed(service api.ServiceInterface, identity api0.ServiceIdentity, reason error)
ServiceAutoTrustFailed provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) ServiceAutoTrustRemoved ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) ServiceAutoTrustRemoved(service api.ServiceInterface, identity api0.ServiceIdentity, reason string)
ServiceAutoTrustRemoved provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) ServiceAutoTrusted ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) ServiceAutoTrusted(service api.ServiceInterface, identity api0.ServiceIdentity)
ServiceAutoTrusted provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) ServicePairingDetailUpdate ¶
func (_mock *ServiceReaderInterface) ServicePairingDetailUpdate(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)
ServicePairingDetailUpdate provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) ServiceUpdated ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) ServiceUpdated(identity api0.ServiceIdentity)
ServiceUpdated provides a mock function for the type ServiceReaderInterface
func (*ServiceReaderInterface) VisibleRemoteMdnsServicesUpdated ¶ added in v0.8.0
func (_mock *ServiceReaderInterface) VisibleRemoteMdnsServicesUpdated(service api.ServiceInterface, entries []api0.RemoteMdnsService)
VisibleRemoteMdnsServicesUpdated provides a mock function for the type ServiceReaderInterface
type ServiceReaderInterface_Expecter ¶
type ServiceReaderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceReaderInterface_Expecter) RemoteServiceConnected ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) RemoteServiceConnected(service interface{}, identity interface{}) *ServiceReaderInterface_RemoteServiceConnected_Call
RemoteServiceConnected is a helper method to define mock.On call
- service api.ServiceInterface
- identity api0.ServiceIdentity
func (*ServiceReaderInterface_Expecter) RemoteServiceDisconnected ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) RemoteServiceDisconnected(service interface{}, identity interface{}) *ServiceReaderInterface_RemoteServiceDisconnected_Call
RemoteServiceDisconnected is a helper method to define mock.On call
- service api.ServiceInterface
- identity api0.ServiceIdentity
func (*ServiceReaderInterface_Expecter) ServiceAutoTrustFailed ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrustFailed(service interface{}, identity interface{}, reason interface{}) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
ServiceAutoTrustFailed is a helper method to define mock.On call
- service api.ServiceInterface
- identity api0.ServiceIdentity
- reason error
func (*ServiceReaderInterface_Expecter) ServiceAutoTrustRemoved ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrustRemoved(service interface{}, identity interface{}, reason interface{}) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
ServiceAutoTrustRemoved is a helper method to define mock.On call
- service api.ServiceInterface
- identity api0.ServiceIdentity
- reason string
func (*ServiceReaderInterface_Expecter) ServiceAutoTrusted ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) ServiceAutoTrusted(service interface{}, identity interface{}) *ServiceReaderInterface_ServiceAutoTrusted_Call
ServiceAutoTrusted is a helper method to define mock.On call
- service api.ServiceInterface
- identity api0.ServiceIdentity
func (*ServiceReaderInterface_Expecter) ServicePairingDetailUpdate ¶
func (_e *ServiceReaderInterface_Expecter) ServicePairingDetailUpdate(identity interface{}, detail interface{}) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
ServicePairingDetailUpdate is a helper method to define mock.On call
- identity api0.ServiceIdentity
- detail *api0.ConnectionStateDetail
func (*ServiceReaderInterface_Expecter) ServiceUpdated ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) ServiceUpdated(identity interface{}) *ServiceReaderInterface_ServiceUpdated_Call
ServiceUpdated is a helper method to define mock.On call
- identity api0.ServiceIdentity
func (*ServiceReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated ¶ added in v0.8.0
func (_e *ServiceReaderInterface_Expecter) VisibleRemoteMdnsServicesUpdated(service interface{}, entries interface{}) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
VisibleRemoteMdnsServicesUpdated is a helper method to define mock.On call
- service api.ServiceInterface
- entries []api0.RemoteMdnsService
type ServiceReaderInterface_RemoteServiceConnected_Call ¶ added in v0.8.0
ServiceReaderInterface_RemoteServiceConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceConnected'
func (*ServiceReaderInterface_RemoteServiceConnected_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_RemoteServiceConnected_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceConnected_Call
func (*ServiceReaderInterface_RemoteServiceConnected_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_RemoteServiceConnected_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceConnected_Call
type ServiceReaderInterface_RemoteServiceDisconnected_Call ¶ added in v0.8.0
ServiceReaderInterface_RemoteServiceDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteServiceDisconnected'
func (*ServiceReaderInterface_RemoteServiceDisconnected_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_RemoteServiceDisconnected_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceDisconnected_Call
func (*ServiceReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_RemoteServiceDisconnected_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_RemoteServiceDisconnected_Call
type ServiceReaderInterface_ServiceAutoTrustFailed_Call ¶ added in v0.8.0
ServiceReaderInterface_ServiceAutoTrustFailed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustFailed'
func (*ServiceReaderInterface_ServiceAutoTrustFailed_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrustFailed_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity, reason error)) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
func (*ServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrustFailed_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity, reason error)) *ServiceReaderInterface_ServiceAutoTrustFailed_Call
type ServiceReaderInterface_ServiceAutoTrustRemoved_Call ¶ added in v0.8.0
ServiceReaderInterface_ServiceAutoTrustRemoved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrustRemoved'
func (*ServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrustRemoved_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity, reason string)) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
func (*ServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrustRemoved_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity, reason string)) *ServiceReaderInterface_ServiceAutoTrustRemoved_Call
type ServiceReaderInterface_ServiceAutoTrusted_Call ¶ added in v0.8.0
ServiceReaderInterface_ServiceAutoTrusted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAutoTrusted'
func (*ServiceReaderInterface_ServiceAutoTrusted_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrusted_Call) Run(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceAutoTrusted_Call
func (*ServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceAutoTrusted_Call) RunAndReturn(run func(service api.ServiceInterface, identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceAutoTrusted_Call
type ServiceReaderInterface_ServicePairingDetailUpdate_Call ¶
ServiceReaderInterface_ServicePairingDetailUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServicePairingDetailUpdate'
func (*ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run ¶
func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) Run(run func(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
func (*ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn ¶
func (_c *ServiceReaderInterface_ServicePairingDetailUpdate_Call) RunAndReturn(run func(identity api0.ServiceIdentity, detail *api0.ConnectionStateDetail)) *ServiceReaderInterface_ServicePairingDetailUpdate_Call
type ServiceReaderInterface_ServiceUpdated_Call ¶ added in v0.8.0
ServiceReaderInterface_ServiceUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceUpdated'
func (*ServiceReaderInterface_ServiceUpdated_Call) Return ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceUpdated_Call) Return() *ServiceReaderInterface_ServiceUpdated_Call
func (*ServiceReaderInterface_ServiceUpdated_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceUpdated_Call) Run(run func(identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceUpdated_Call
func (*ServiceReaderInterface_ServiceUpdated_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_ServiceUpdated_Call) RunAndReturn(run func(identity api0.ServiceIdentity)) *ServiceReaderInterface_ServiceUpdated_Call
type ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call ¶ added in v0.8.0
ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VisibleRemoteMdnsServicesUpdated'
func (*ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run ¶ added in v0.8.0
func (_c *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) Run(run func(service api.ServiceInterface, entries []api0.RemoteMdnsService)) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
func (*ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn ¶ added in v0.8.0
func (_c *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call) RunAndReturn(run func(service api.ServiceInterface, entries []api0.RemoteMdnsService)) *ServiceReaderInterface_VisibleRemoteMdnsServicesUpdated_Call
type SmartEnergyManagementPsClientInterface ¶ added in v0.6.0
SmartEnergyManagementPsClientInterface is an autogenerated mock type for the SmartEnergyManagementPsClientInterface type
func NewSmartEnergyManagementPsClientInterface ¶ added in v0.6.0
func NewSmartEnergyManagementPsClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *SmartEnergyManagementPsClientInterface
NewSmartEnergyManagementPsClientInterface creates a new instance of SmartEnergyManagementPsClientInterface. 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 (*SmartEnergyManagementPsClientInterface) EXPECT ¶ added in v0.6.0
func (_m *SmartEnergyManagementPsClientInterface) EXPECT() *SmartEnergyManagementPsClientInterface_Expecter
func (*SmartEnergyManagementPsClientInterface) RequestData ¶ added in v0.6.0
func (_mock *SmartEnergyManagementPsClientInterface) RequestData() (*model.MsgCounterType, error)
RequestData provides a mock function for the type SmartEnergyManagementPsClientInterface
func (*SmartEnergyManagementPsClientInterface) WriteData ¶ added in v0.6.0
func (_mock *SmartEnergyManagementPsClientInterface) WriteData(data *model.SmartEnergyManagementPsDataType) (*model.MsgCounterType, error)
WriteData provides a mock function for the type SmartEnergyManagementPsClientInterface
type SmartEnergyManagementPsClientInterface_Expecter ¶ added in v0.6.0
type SmartEnergyManagementPsClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*SmartEnergyManagementPsClientInterface_Expecter) RequestData ¶ added in v0.6.0
func (_e *SmartEnergyManagementPsClientInterface_Expecter) RequestData() *SmartEnergyManagementPsClientInterface_RequestData_Call
RequestData is a helper method to define mock.On call
func (*SmartEnergyManagementPsClientInterface_Expecter) WriteData ¶ added in v0.6.0
func (_e *SmartEnergyManagementPsClientInterface_Expecter) WriteData(data interface{}) *SmartEnergyManagementPsClientInterface_WriteData_Call
WriteData is a helper method to define mock.On call
- data *model.SmartEnergyManagementPsDataType
type SmartEnergyManagementPsClientInterface_RequestData_Call ¶ added in v0.6.0
SmartEnergyManagementPsClientInterface_RequestData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestData'
func (*SmartEnergyManagementPsClientInterface_RequestData_Call) Return ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *SmartEnergyManagementPsClientInterface_RequestData_Call
func (*SmartEnergyManagementPsClientInterface_RequestData_Call) Run ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) Run(run func()) *SmartEnergyManagementPsClientInterface_RequestData_Call
func (*SmartEnergyManagementPsClientInterface_RequestData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_RequestData_Call) RunAndReturn(run func() (*model.MsgCounterType, error)) *SmartEnergyManagementPsClientInterface_RequestData_Call
type SmartEnergyManagementPsClientInterface_WriteData_Call ¶ added in v0.6.0
SmartEnergyManagementPsClientInterface_WriteData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteData'
func (*SmartEnergyManagementPsClientInterface_WriteData_Call) Return ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) Return(msgCounterType *model.MsgCounterType, err error) *SmartEnergyManagementPsClientInterface_WriteData_Call
func (*SmartEnergyManagementPsClientInterface_WriteData_Call) Run ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) Run(run func(data *model.SmartEnergyManagementPsDataType)) *SmartEnergyManagementPsClientInterface_WriteData_Call
func (*SmartEnergyManagementPsClientInterface_WriteData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsClientInterface_WriteData_Call) RunAndReturn(run func(data *model.SmartEnergyManagementPsDataType) (*model.MsgCounterType, error)) *SmartEnergyManagementPsClientInterface_WriteData_Call
type SmartEnergyManagementPsCommonInterface ¶ added in v0.6.0
SmartEnergyManagementPsCommonInterface is an autogenerated mock type for the SmartEnergyManagementPsCommonInterface type
func NewSmartEnergyManagementPsCommonInterface ¶ added in v0.6.0
func NewSmartEnergyManagementPsCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *SmartEnergyManagementPsCommonInterface
NewSmartEnergyManagementPsCommonInterface creates a new instance of SmartEnergyManagementPsCommonInterface. 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 (*SmartEnergyManagementPsCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *SmartEnergyManagementPsCommonInterface) EXPECT() *SmartEnergyManagementPsCommonInterface_Expecter
func (*SmartEnergyManagementPsCommonInterface) GetData ¶ added in v0.6.0
func (_mock *SmartEnergyManagementPsCommonInterface) GetData() (*model.SmartEnergyManagementPsDataType, error)
GetData provides a mock function for the type SmartEnergyManagementPsCommonInterface
type SmartEnergyManagementPsCommonInterface_Expecter ¶ added in v0.6.0
type SmartEnergyManagementPsCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*SmartEnergyManagementPsCommonInterface_Expecter) GetData ¶ added in v0.6.0
func (_e *SmartEnergyManagementPsCommonInterface_Expecter) GetData() *SmartEnergyManagementPsCommonInterface_GetData_Call
GetData is a helper method to define mock.On call
type SmartEnergyManagementPsCommonInterface_GetData_Call ¶ added in v0.6.0
SmartEnergyManagementPsCommonInterface_GetData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetData'
func (*SmartEnergyManagementPsCommonInterface_GetData_Call) Return ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) Return(smartEnergyManagementPsDataType *model.SmartEnergyManagementPsDataType, err error) *SmartEnergyManagementPsCommonInterface_GetData_Call
func (*SmartEnergyManagementPsCommonInterface_GetData_Call) Run ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) Run(run func()) *SmartEnergyManagementPsCommonInterface_GetData_Call
func (*SmartEnergyManagementPsCommonInterface_GetData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *SmartEnergyManagementPsCommonInterface_GetData_Call) RunAndReturn(run func() (*model.SmartEnergyManagementPsDataType, error)) *SmartEnergyManagementPsCommonInterface_GetData_Call
type SmartEnergyManagementPsServerInterface ¶ added in v0.6.0
SmartEnergyManagementPsServerInterface is an autogenerated mock type for the SmartEnergyManagementPsServerInterface type
func NewSmartEnergyManagementPsServerInterface ¶ added in v0.6.0
func NewSmartEnergyManagementPsServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *SmartEnergyManagementPsServerInterface
NewSmartEnergyManagementPsServerInterface creates a new instance of SmartEnergyManagementPsServerInterface. 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 (*SmartEnergyManagementPsServerInterface) EXPECT ¶ added in v0.6.0
func (_m *SmartEnergyManagementPsServerInterface) EXPECT() *SmartEnergyManagementPsServerInterface_Expecter
type SmartEnergyManagementPsServerInterface_Expecter ¶ added in v0.6.0
type SmartEnergyManagementPsServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type TimeSeriesClientInterface ¶ added in v0.6.0
TimeSeriesClientInterface is an autogenerated mock type for the TimeSeriesClientInterface type
func NewTimeSeriesClientInterface ¶ added in v0.6.0
func NewTimeSeriesClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *TimeSeriesClientInterface
NewTimeSeriesClientInterface creates a new instance of TimeSeriesClientInterface. 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 (*TimeSeriesClientInterface) EXPECT ¶ added in v0.6.0
func (_m *TimeSeriesClientInterface) EXPECT() *TimeSeriesClientInterface_Expecter
func (*TimeSeriesClientInterface) RequestConstraints ¶ added in v0.6.0
func (_mock *TimeSeriesClientInterface) RequestConstraints(selector *model.TimeSeriesConstraintsListDataSelectorsType, elements *model.TimeSeriesConstraintsDataElementsType) (*model.MsgCounterType, error)
RequestConstraints provides a mock function for the type TimeSeriesClientInterface
func (*TimeSeriesClientInterface) RequestData ¶ added in v0.6.0
func (_mock *TimeSeriesClientInterface) RequestData(selector *model.TimeSeriesListDataSelectorsType, elements *model.TimeSeriesDataElementsType) (*model.MsgCounterType, error)
RequestData provides a mock function for the type TimeSeriesClientInterface
func (*TimeSeriesClientInterface) RequestDescriptions ¶ added in v0.6.0
func (_mock *TimeSeriesClientInterface) RequestDescriptions(selector *model.TimeSeriesDescriptionListDataSelectorsType, elements *model.TimeSeriesDescriptionDataElementsType) (*model.MsgCounterType, error)
RequestDescriptions provides a mock function for the type TimeSeriesClientInterface
func (*TimeSeriesClientInterface) WriteData ¶ added in v0.6.0
func (_mock *TimeSeriesClientInterface) WriteData(data []model.TimeSeriesDataType) (*model.MsgCounterType, error)
WriteData provides a mock function for the type TimeSeriesClientInterface
type TimeSeriesClientInterface_Expecter ¶ added in v0.6.0
type TimeSeriesClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*TimeSeriesClientInterface_Expecter) RequestConstraints ¶ added in v0.6.0
func (_e *TimeSeriesClientInterface_Expecter) RequestConstraints(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestConstraints_Call
RequestConstraints is a helper method to define mock.On call
- selector *model.TimeSeriesConstraintsListDataSelectorsType
- elements *model.TimeSeriesConstraintsDataElementsType
func (*TimeSeriesClientInterface_Expecter) RequestData ¶ added in v0.6.0
func (_e *TimeSeriesClientInterface_Expecter) RequestData(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestData_Call
RequestData is a helper method to define mock.On call
- selector *model.TimeSeriesListDataSelectorsType
- elements *model.TimeSeriesDataElementsType
func (*TimeSeriesClientInterface_Expecter) RequestDescriptions ¶ added in v0.6.0
func (_e *TimeSeriesClientInterface_Expecter) RequestDescriptions(selector interface{}, elements interface{}) *TimeSeriesClientInterface_RequestDescriptions_Call
RequestDescriptions is a helper method to define mock.On call
- selector *model.TimeSeriesDescriptionListDataSelectorsType
- elements *model.TimeSeriesDescriptionDataElementsType
func (*TimeSeriesClientInterface_Expecter) WriteData ¶ added in v0.6.0
func (_e *TimeSeriesClientInterface_Expecter) WriteData(data interface{}) *TimeSeriesClientInterface_WriteData_Call
WriteData is a helper method to define mock.On call
- data []model.TimeSeriesDataType
type TimeSeriesClientInterface_RequestConstraints_Call ¶ added in v0.6.0
TimeSeriesClientInterface_RequestConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestConstraints'
func (*TimeSeriesClientInterface_RequestConstraints_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestConstraints_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestConstraints_Call
func (*TimeSeriesClientInterface_RequestConstraints_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestConstraints_Call) Run(run func(selector *model.TimeSeriesConstraintsListDataSelectorsType, elements *model.TimeSeriesConstraintsDataElementsType)) *TimeSeriesClientInterface_RequestConstraints_Call
func (*TimeSeriesClientInterface_RequestConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestConstraints_Call) RunAndReturn(run func(selector *model.TimeSeriesConstraintsListDataSelectorsType, elements *model.TimeSeriesConstraintsDataElementsType) (*model.MsgCounterType, error)) *TimeSeriesClientInterface_RequestConstraints_Call
type TimeSeriesClientInterface_RequestData_Call ¶ added in v0.6.0
TimeSeriesClientInterface_RequestData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestData'
func (*TimeSeriesClientInterface_RequestData_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestData_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestData_Call
func (*TimeSeriesClientInterface_RequestData_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestData_Call) Run(run func(selector *model.TimeSeriesListDataSelectorsType, elements *model.TimeSeriesDataElementsType)) *TimeSeriesClientInterface_RequestData_Call
func (*TimeSeriesClientInterface_RequestData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestData_Call) RunAndReturn(run func(selector *model.TimeSeriesListDataSelectorsType, elements *model.TimeSeriesDataElementsType) (*model.MsgCounterType, error)) *TimeSeriesClientInterface_RequestData_Call
type TimeSeriesClientInterface_RequestDescriptions_Call ¶ added in v0.6.0
TimeSeriesClientInterface_RequestDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestDescriptions'
func (*TimeSeriesClientInterface_RequestDescriptions_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_RequestDescriptions_Call
func (*TimeSeriesClientInterface_RequestDescriptions_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) Run(run func(selector *model.TimeSeriesDescriptionListDataSelectorsType, elements *model.TimeSeriesDescriptionDataElementsType)) *TimeSeriesClientInterface_RequestDescriptions_Call
func (*TimeSeriesClientInterface_RequestDescriptions_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_RequestDescriptions_Call) RunAndReturn(run func(selector *model.TimeSeriesDescriptionListDataSelectorsType, elements *model.TimeSeriesDescriptionDataElementsType) (*model.MsgCounterType, error)) *TimeSeriesClientInterface_RequestDescriptions_Call
type TimeSeriesClientInterface_WriteData_Call ¶ added in v0.6.0
TimeSeriesClientInterface_WriteData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteData'
func (*TimeSeriesClientInterface_WriteData_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_WriteData_Call) Return(msgCounterType *model.MsgCounterType, err error) *TimeSeriesClientInterface_WriteData_Call
func (*TimeSeriesClientInterface_WriteData_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_WriteData_Call) Run(run func(data []model.TimeSeriesDataType)) *TimeSeriesClientInterface_WriteData_Call
func (*TimeSeriesClientInterface_WriteData_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesClientInterface_WriteData_Call) RunAndReturn(run func(data []model.TimeSeriesDataType) (*model.MsgCounterType, error)) *TimeSeriesClientInterface_WriteData_Call
type TimeSeriesCommonInterface ¶ added in v0.6.0
TimeSeriesCommonInterface is an autogenerated mock type for the TimeSeriesCommonInterface type
func NewTimeSeriesCommonInterface ¶ added in v0.6.0
func NewTimeSeriesCommonInterface(t interface {
mock.TestingT
Cleanup(func())
}) *TimeSeriesCommonInterface
NewTimeSeriesCommonInterface creates a new instance of TimeSeriesCommonInterface. 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 (*TimeSeriesCommonInterface) EXPECT ¶ added in v0.6.0
func (_m *TimeSeriesCommonInterface) EXPECT() *TimeSeriesCommonInterface_Expecter
func (*TimeSeriesCommonInterface) GetConstraints ¶ added in v0.6.0
func (_mock *TimeSeriesCommonInterface) GetConstraints() ([]model.TimeSeriesConstraintsDataType, error)
GetConstraints provides a mock function for the type TimeSeriesCommonInterface
func (*TimeSeriesCommonInterface) GetDataForFilter ¶ added in v0.6.0
func (_mock *TimeSeriesCommonInterface) GetDataForFilter(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDataType, error)
GetDataForFilter provides a mock function for the type TimeSeriesCommonInterface
func (*TimeSeriesCommonInterface) GetDescriptionsForFilter ¶ added in v0.6.0
func (_mock *TimeSeriesCommonInterface) GetDescriptionsForFilter(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDescriptionDataType, error)
GetDescriptionsForFilter provides a mock function for the type TimeSeriesCommonInterface
type TimeSeriesCommonInterface_Expecter ¶ added in v0.6.0
type TimeSeriesCommonInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*TimeSeriesCommonInterface_Expecter) GetConstraints ¶ added in v0.6.0
func (_e *TimeSeriesCommonInterface_Expecter) GetConstraints() *TimeSeriesCommonInterface_GetConstraints_Call
GetConstraints is a helper method to define mock.On call
func (*TimeSeriesCommonInterface_Expecter) GetDataForFilter ¶ added in v0.6.0
func (_e *TimeSeriesCommonInterface_Expecter) GetDataForFilter(filter interface{}) *TimeSeriesCommonInterface_GetDataForFilter_Call
GetDataForFilter is a helper method to define mock.On call
- filter model.TimeSeriesDescriptionDataType
func (*TimeSeriesCommonInterface_Expecter) GetDescriptionsForFilter ¶ added in v0.6.0
func (_e *TimeSeriesCommonInterface_Expecter) GetDescriptionsForFilter(filter interface{}) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
GetDescriptionsForFilter is a helper method to define mock.On call
- filter model.TimeSeriesDescriptionDataType
type TimeSeriesCommonInterface_GetConstraints_Call ¶ added in v0.6.0
TimeSeriesCommonInterface_GetConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConstraints'
func (*TimeSeriesCommonInterface_GetConstraints_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetConstraints_Call) Return(timeSeriesConstraintsDataTypes []model.TimeSeriesConstraintsDataType, err error) *TimeSeriesCommonInterface_GetConstraints_Call
func (*TimeSeriesCommonInterface_GetConstraints_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetConstraints_Call) Run(run func()) *TimeSeriesCommonInterface_GetConstraints_Call
func (*TimeSeriesCommonInterface_GetConstraints_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetConstraints_Call) RunAndReturn(run func() ([]model.TimeSeriesConstraintsDataType, error)) *TimeSeriesCommonInterface_GetConstraints_Call
type TimeSeriesCommonInterface_GetDataForFilter_Call ¶ added in v0.6.0
TimeSeriesCommonInterface_GetDataForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataForFilter'
func (*TimeSeriesCommonInterface_GetDataForFilter_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) Return(timeSeriesDataTypes []model.TimeSeriesDataType, err error) *TimeSeriesCommonInterface_GetDataForFilter_Call
func (*TimeSeriesCommonInterface_GetDataForFilter_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) Run(run func(filter model.TimeSeriesDescriptionDataType)) *TimeSeriesCommonInterface_GetDataForFilter_Call
func (*TimeSeriesCommonInterface_GetDataForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDataForFilter_Call) RunAndReturn(run func(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDataType, error)) *TimeSeriesCommonInterface_GetDataForFilter_Call
type TimeSeriesCommonInterface_GetDescriptionsForFilter_Call ¶ added in v0.6.0
TimeSeriesCommonInterface_GetDescriptionsForFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDescriptionsForFilter'
func (*TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Return ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Return(timeSeriesDescriptionDataTypes []model.TimeSeriesDescriptionDataType, err error) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
func (*TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Run ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) Run(run func(filter model.TimeSeriesDescriptionDataType)) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
func (*TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn ¶ added in v0.6.0
func (_c *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call) RunAndReturn(run func(filter model.TimeSeriesDescriptionDataType) ([]model.TimeSeriesDescriptionDataType, error)) *TimeSeriesCommonInterface_GetDescriptionsForFilter_Call
type TimeSeriesServerInterface ¶ added in v0.6.0
TimeSeriesServerInterface is an autogenerated mock type for the TimeSeriesServerInterface type
func NewTimeSeriesServerInterface ¶ added in v0.6.0
func NewTimeSeriesServerInterface(t interface {
mock.TestingT
Cleanup(func())
}) *TimeSeriesServerInterface
NewTimeSeriesServerInterface creates a new instance of TimeSeriesServerInterface. 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 (*TimeSeriesServerInterface) EXPECT ¶ added in v0.6.0
func (_m *TimeSeriesServerInterface) EXPECT() *TimeSeriesServerInterface_Expecter
type TimeSeriesServerInterface_Expecter ¶ added in v0.6.0
type TimeSeriesServerInterface_Expecter struct {
// contains filtered or unexported fields
}
type UseCaseBaseInterface ¶ added in v0.6.0
UseCaseBaseInterface is an autogenerated mock type for the UseCaseBaseInterface type
func NewUseCaseBaseInterface ¶ added in v0.6.0
func NewUseCaseBaseInterface(t interface {
mock.TestingT
Cleanup(func())
}) *UseCaseBaseInterface
NewUseCaseBaseInterface creates a new instance of UseCaseBaseInterface. 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 (*UseCaseBaseInterface) AddUseCase ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) AddUseCase()
AddUseCase provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) AvailableScenariosForEntity ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) EXPECT ¶ added in v0.6.0
func (_m *UseCaseBaseInterface) EXPECT() *UseCaseBaseInterface_Expecter
func (*UseCaseBaseInterface) IsCompatibleEntityType ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) IsScenarioAvailableAtEntity ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) RemoteEntitiesScenarios ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) RemoveUseCase ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type UseCaseBaseInterface
func (*UseCaseBaseInterface) UpdateUseCaseAvailability ¶ added in v0.6.0
func (_mock *UseCaseBaseInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type UseCaseBaseInterface
type UseCaseBaseInterface_AddUseCase_Call ¶ added in v0.6.0
UseCaseBaseInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*UseCaseBaseInterface_AddUseCase_Call) Return ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AddUseCase_Call) Return() *UseCaseBaseInterface_AddUseCase_Call
func (*UseCaseBaseInterface_AddUseCase_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AddUseCase_Call) Run(run func()) *UseCaseBaseInterface_AddUseCase_Call
func (*UseCaseBaseInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AddUseCase_Call) RunAndReturn(run func()) *UseCaseBaseInterface_AddUseCase_Call
type UseCaseBaseInterface_AvailableScenariosForEntity_Call ¶ added in v0.6.0
UseCaseBaseInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*UseCaseBaseInterface_AvailableScenariosForEntity_Call) Return ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
func (*UseCaseBaseInterface_AvailableScenariosForEntity_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
func (*UseCaseBaseInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
type UseCaseBaseInterface_Expecter ¶ added in v0.6.0
type UseCaseBaseInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*UseCaseBaseInterface_Expecter) AddUseCase ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) AddUseCase() *UseCaseBaseInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*UseCaseBaseInterface_Expecter) AvailableScenariosForEntity ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *UseCaseBaseInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*UseCaseBaseInterface_Expecter) IsCompatibleEntityType ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) IsCompatibleEntityType(entity interface{}) *UseCaseBaseInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*UseCaseBaseInterface_Expecter) IsScenarioAvailableAtEntity ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*UseCaseBaseInterface_Expecter) RemoteEntitiesScenarios ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) RemoteEntitiesScenarios() *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*UseCaseBaseInterface_Expecter) RemoveUseCase ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) RemoveUseCase() *UseCaseBaseInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*UseCaseBaseInterface_Expecter) UpdateUseCaseAvailability ¶ added in v0.6.0
func (_e *UseCaseBaseInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type UseCaseBaseInterface_IsCompatibleEntityType_Call ¶ added in v0.6.0
UseCaseBaseInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*UseCaseBaseInterface_IsCompatibleEntityType_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseBaseInterface_IsCompatibleEntityType_Call
func (*UseCaseBaseInterface_IsCompatibleEntityType_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *UseCaseBaseInterface_IsCompatibleEntityType_Call
type UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call ¶ added in v0.6.0
UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
func (*UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *UseCaseBaseInterface_IsScenarioAvailableAtEntity_Call
type UseCaseBaseInterface_RemoteEntitiesScenarios_Call ¶ added in v0.6.0
UseCaseBaseInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Return ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
func (*UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) Run(run func()) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
func (*UseCaseBaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *UseCaseBaseInterface_RemoteEntitiesScenarios_Call
type UseCaseBaseInterface_RemoveUseCase_Call ¶ added in v0.6.0
UseCaseBaseInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*UseCaseBaseInterface_RemoveUseCase_Call) Return ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoveUseCase_Call) Return() *UseCaseBaseInterface_RemoveUseCase_Call
func (*UseCaseBaseInterface_RemoveUseCase_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoveUseCase_Call) Run(run func()) *UseCaseBaseInterface_RemoveUseCase_Call
func (*UseCaseBaseInterface_RemoveUseCase_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_RemoveUseCase_Call) RunAndReturn(run func()) *UseCaseBaseInterface_RemoveUseCase_Call
type UseCaseBaseInterface_UpdateUseCaseAvailability_Call ¶ added in v0.6.0
UseCaseBaseInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*UseCaseBaseInterface_UpdateUseCaseAvailability_Call) Run ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
func (*UseCaseBaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseBaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *UseCaseBaseInterface_UpdateUseCaseAvailability_Call
type UseCaseInterface ¶ added in v0.6.0
UseCaseInterface is an autogenerated mock type for the UseCaseInterface type
func NewUseCaseInterface ¶ added in v0.6.0
func NewUseCaseInterface(t interface {
mock.TestingT
Cleanup(func())
}) *UseCaseInterface
NewUseCaseInterface creates a new instance of UseCaseInterface. 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 (*UseCaseInterface) AddFeatures ¶ added in v0.6.0
func (_mock *UseCaseInterface) AddFeatures() error
AddFeatures provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) AddUseCase ¶ added in v0.6.0
func (_mock *UseCaseInterface) AddUseCase()
AddUseCase provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) AvailableScenariosForEntity ¶ added in v0.6.0
func (_mock *UseCaseInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) EXPECT ¶ added in v0.6.0
func (_m *UseCaseInterface) EXPECT() *UseCaseInterface_Expecter
func (*UseCaseInterface) IsCompatibleEntityType ¶ added in v0.6.0
func (_mock *UseCaseInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) IsScenarioAvailableAtEntity ¶ added in v0.6.0
func (_mock *UseCaseInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) RemoteEntitiesScenarios ¶ added in v0.6.0
func (_mock *UseCaseInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) RemoveUseCase ¶ added in v0.6.0
func (_mock *UseCaseInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type UseCaseInterface
func (*UseCaseInterface) UpdateUseCaseAvailability ¶ added in v0.6.0
func (_mock *UseCaseInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type UseCaseInterface
type UseCaseInterface_AddFeatures_Call ¶ added in v0.6.0
UseCaseInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*UseCaseInterface_AddFeatures_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_AddFeatures_Call) Return(err error) *UseCaseInterface_AddFeatures_Call
func (*UseCaseInterface_AddFeatures_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_AddFeatures_Call) Run(run func()) *UseCaseInterface_AddFeatures_Call
func (*UseCaseInterface_AddFeatures_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_AddFeatures_Call) RunAndReturn(run func() error) *UseCaseInterface_AddFeatures_Call
type UseCaseInterface_AddUseCase_Call ¶ added in v0.6.0
UseCaseInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*UseCaseInterface_AddUseCase_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_AddUseCase_Call) Return() *UseCaseInterface_AddUseCase_Call
func (*UseCaseInterface_AddUseCase_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_AddUseCase_Call) Run(run func()) *UseCaseInterface_AddUseCase_Call
func (*UseCaseInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_AddUseCase_Call) RunAndReturn(run func()) *UseCaseInterface_AddUseCase_Call
type UseCaseInterface_AvailableScenariosForEntity_Call ¶ added in v0.6.0
UseCaseInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*UseCaseInterface_AvailableScenariosForEntity_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *UseCaseInterface_AvailableScenariosForEntity_Call
func (*UseCaseInterface_AvailableScenariosForEntity_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseInterface_AvailableScenariosForEntity_Call
func (*UseCaseInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *UseCaseInterface_AvailableScenariosForEntity_Call
type UseCaseInterface_Expecter ¶ added in v0.6.0
type UseCaseInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*UseCaseInterface_Expecter) AddFeatures ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) AddFeatures() *UseCaseInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*UseCaseInterface_Expecter) AddUseCase ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) AddUseCase() *UseCaseInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*UseCaseInterface_Expecter) AvailableScenariosForEntity ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *UseCaseInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*UseCaseInterface_Expecter) IsCompatibleEntityType ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) IsCompatibleEntityType(entity interface{}) *UseCaseInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*UseCaseInterface_Expecter) IsScenarioAvailableAtEntity ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*UseCaseInterface_Expecter) RemoteEntitiesScenarios ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) RemoteEntitiesScenarios() *UseCaseInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*UseCaseInterface_Expecter) RemoveUseCase ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) RemoveUseCase() *UseCaseInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*UseCaseInterface_Expecter) UpdateUseCaseAvailability ¶ added in v0.6.0
func (_e *UseCaseInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *UseCaseInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type UseCaseInterface_IsCompatibleEntityType_Call ¶ added in v0.6.0
UseCaseInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*UseCaseInterface_IsCompatibleEntityType_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_IsCompatibleEntityType_Call) Return(b bool) *UseCaseInterface_IsCompatibleEntityType_Call
func (*UseCaseInterface_IsCompatibleEntityType_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *UseCaseInterface_IsCompatibleEntityType_Call
func (*UseCaseInterface_IsCompatibleEntityType_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *UseCaseInterface_IsCompatibleEntityType_Call
type UseCaseInterface_IsScenarioAvailableAtEntity_Call ¶ added in v0.6.0
UseCaseInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*UseCaseInterface_IsScenarioAvailableAtEntity_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
func (*UseCaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *UseCaseInterface_IsScenarioAvailableAtEntity_Call
type UseCaseInterface_RemoteEntitiesScenarios_Call ¶ added in v0.6.0
UseCaseInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*UseCaseInterface_RemoteEntitiesScenarios_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *UseCaseInterface_RemoteEntitiesScenarios_Call
func (*UseCaseInterface_RemoteEntitiesScenarios_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) Run(run func()) *UseCaseInterface_RemoteEntitiesScenarios_Call
func (*UseCaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *UseCaseInterface_RemoteEntitiesScenarios_Call
type UseCaseInterface_RemoveUseCase_Call ¶ added in v0.6.0
UseCaseInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*UseCaseInterface_RemoveUseCase_Call) Return ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoveUseCase_Call) Return() *UseCaseInterface_RemoveUseCase_Call
func (*UseCaseInterface_RemoveUseCase_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoveUseCase_Call) Run(run func()) *UseCaseInterface_RemoveUseCase_Call
func (*UseCaseInterface_RemoveUseCase_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_RemoveUseCase_Call) RunAndReturn(run func()) *UseCaseInterface_RemoveUseCase_Call
type UseCaseInterface_UpdateUseCaseAvailability_Call ¶ added in v0.6.0
UseCaseInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*UseCaseInterface_UpdateUseCaseAvailability_Call) Run ¶ added in v0.6.0
func (_c *UseCaseInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *UseCaseInterface_UpdateUseCaseAvailability_Call
func (*UseCaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶ added in v0.6.0
func (_c *UseCaseInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *UseCaseInterface_UpdateUseCaseAvailability_Call
Source Files
¶
- DeviceClassificationClientInterface.go
- DeviceClassificationCommonInterface.go
- DeviceClassificationServerInterface.go
- DeviceConfigurationClientInterface.go
- DeviceConfigurationCommonInterface.go
- DeviceConfigurationServerInterface.go
- DeviceDiagnosisClientInterface.go
- DeviceDiagnosisCommonInterface.go
- DeviceDiagnosisServerInterface.go
- ElectricalConnectionClientInterface.go
- ElectricalConnectionCommonInterface.go
- ElectricalConnectionServerInterface.go
- EntityEventCallback.go
- FeatureClientInterface.go
- FeatureInterface.go
- FeatureServerInterface.go
- IdentificationClientInterface.go
- IdentificationCommonInterface.go
- IdentificationServerInterface.go
- IncentiveTableClientInterface.go
- IncentiveTableCommonInterface.go
- IncentiveTableServerInterface.go
- LoadControlClientInterface.go
- LoadControlCommonInterface.go
- LoadControlServerInterface.go
- MeasurementClientInterface.go
- MeasurementCommonInterface.go
- MeasurementServerInterface.go
- ServiceInterface.go
- ServiceReaderInterface.go
- SmartEnergyManagementPsClientInterface.go
- SmartEnergyManagementPsCommonInterface.go
- SmartEnergyManagementPsServerInterface.go
- TimeSeriesClientInterface.go
- TimeSeriesCommonInterface.go
- TimeSeriesServerInterface.go
- UseCaseBaseInterface.go
- UseCaseInterface.go