Documentation
¶
Index ¶
- type CemCEVCInterface
- func (_mock *CemCEVCInterface) AddFeatures() error
- func (_mock *CemCEVCInterface) AddUseCase()
- func (_mock *CemCEVCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemCEVCInterface) ChargePlan(entity api.EntityRemoteInterface) (api0.ChargePlan, error)
- func (_mock *CemCEVCInterface) ChargePlanConstraints(entity api.EntityRemoteInterface) ([]api0.DurationSlotValue, error)
- func (_mock *CemCEVCInterface) ChargeStrategy(remoteEntity api.EntityRemoteInterface) api0.EVChargeStrategyType
- func (_m *CemCEVCInterface) EXPECT() *CemCEVCInterface_Expecter
- func (_mock *CemCEVCInterface) EnergyDemand(remoteEntity api.EntityRemoteInterface) (api0.Demand, error)
- func (_mock *CemCEVCInterface) IncentiveConstraints(entity api.EntityRemoteInterface) (api0.IncentiveSlotConstraints, error)
- func (_mock *CemCEVCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemCEVCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemCEVCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemCEVCInterface) RemoveUseCase()
- func (_mock *CemCEVCInterface) SetOperatingState(failureState bool) error
- func (_mock *CemCEVCInterface) StartHeartbeat()
- func (_mock *CemCEVCInterface) StopHeartbeat()
- func (_mock *CemCEVCInterface) TimeSlotConstraints(entity api.EntityRemoteInterface) (api0.TimeSlotConstraints, error)
- func (_mock *CemCEVCInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *CemCEVCInterface) WriteIncentiveTableDescriptions(entity api.EntityRemoteInterface, data []api0.IncentiveTariffDescription) error
- func (_mock *CemCEVCInterface) WriteIncentives(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error
- func (_mock *CemCEVCInterface) WritePowerLimits(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error
- type CemCEVCInterface_AddFeatures_Call
- func (_c *CemCEVCInterface_AddFeatures_Call) Return(err error) *CemCEVCInterface_AddFeatures_Call
- func (_c *CemCEVCInterface_AddFeatures_Call) Run(run func()) *CemCEVCInterface_AddFeatures_Call
- func (_c *CemCEVCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemCEVCInterface_AddFeatures_Call
- type CemCEVCInterface_AddUseCase_Call
- type CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
- type CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Return(durationSlotValues []api0.DurationSlotValue, err error) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.DurationSlotValue, error)) *CemCEVCInterface_ChargePlanConstraints_Call
- type CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) Return(chargePlan api0.ChargePlan, err error) *CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ChargePlan, error)) *CemCEVCInterface_ChargePlan_Call
- type CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) Return(eVChargeStrategyType api0.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) Run(run func(remoteEntity api.EntityRemoteInterface)) *CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) RunAndReturn(run func(remoteEntity api.EntityRemoteInterface) api0.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
- type CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) Return(demand api0.Demand, err error) *CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) Run(run func(remoteEntity api.EntityRemoteInterface)) *CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) RunAndReturn(run func(remoteEntity api.EntityRemoteInterface) (api0.Demand, error)) *CemCEVCInterface_EnergyDemand_Call
- type CemCEVCInterface_Expecter
- func (_e *CemCEVCInterface_Expecter) AddFeatures() *CemCEVCInterface_AddFeatures_Call
- func (_e *CemCEVCInterface_Expecter) AddUseCase() *CemCEVCInterface_AddUseCase_Call
- func (_e *CemCEVCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_e *CemCEVCInterface_Expecter) ChargePlan(entity interface{}) *CemCEVCInterface_ChargePlan_Call
- func (_e *CemCEVCInterface_Expecter) ChargePlanConstraints(entity interface{}) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_e *CemCEVCInterface_Expecter) ChargeStrategy(remoteEntity interface{}) *CemCEVCInterface_ChargeStrategy_Call
- func (_e *CemCEVCInterface_Expecter) EnergyDemand(remoteEntity interface{}) *CemCEVCInterface_EnergyDemand_Call
- func (_e *CemCEVCInterface_Expecter) IncentiveConstraints(entity interface{}) *CemCEVCInterface_IncentiveConstraints_Call
- func (_e *CemCEVCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_e *CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemCEVCInterface_Expecter) RemoteEntitiesScenarios() *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemCEVCInterface_Expecter) RemoveUseCase() *CemCEVCInterface_RemoveUseCase_Call
- func (_e *CemCEVCInterface_Expecter) SetOperatingState(failureState interface{}) *CemCEVCInterface_SetOperatingState_Call
- func (_e *CemCEVCInterface_Expecter) StartHeartbeat() *CemCEVCInterface_StartHeartbeat_Call
- func (_e *CemCEVCInterface_Expecter) StopHeartbeat() *CemCEVCInterface_StopHeartbeat_Call
- func (_e *CemCEVCInterface_Expecter) TimeSlotConstraints(entity interface{}) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_e *CemCEVCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_e *CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_e *CemCEVCInterface_Expecter) WriteIncentives(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentives_Call
- func (_e *CemCEVCInterface_Expecter) WritePowerLimits(entity interface{}, data interface{}) *CemCEVCInterface_WritePowerLimits_Call
- type CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) Return(incentiveSlotConstraints api0.IncentiveSlotConstraints, err error) *CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn(...) *CemCEVCInterface_IncentiveConstraints_Call
- type CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemCEVCInterface_IsCompatibleEntityType_Call
- type CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- type CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- type CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) Return() *CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) Run(run func()) *CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_RemoveUseCase_Call
- type CemCEVCInterface_SetOperatingState_Call
- func (_c *CemCEVCInterface_SetOperatingState_Call) Return(err error) *CemCEVCInterface_SetOperatingState_Call
- func (_c *CemCEVCInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemCEVCInterface_SetOperatingState_Call
- func (_c *CemCEVCInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemCEVCInterface_SetOperatingState_Call
- type CemCEVCInterface_StartHeartbeat_Call
- func (_c *CemCEVCInterface_StartHeartbeat_Call) Return() *CemCEVCInterface_StartHeartbeat_Call
- func (_c *CemCEVCInterface_StartHeartbeat_Call) Run(run func()) *CemCEVCInterface_StartHeartbeat_Call
- func (_c *CemCEVCInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemCEVCInterface_StartHeartbeat_Call
- type CemCEVCInterface_StopHeartbeat_Call
- func (_c *CemCEVCInterface_StopHeartbeat_Call) Return() *CemCEVCInterface_StopHeartbeat_Call
- func (_c *CemCEVCInterface_StopHeartbeat_Call) Run(run func()) *CemCEVCInterface_StopHeartbeat_Call
- func (_c *CemCEVCInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemCEVCInterface_StopHeartbeat_Call
- type CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Return(timeSlotConstraints api0.TimeSlotConstraints, err error) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.TimeSlotConstraints, error)) *CemCEVCInterface_TimeSlotConstraints_Call
- type CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Return() *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- type CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Return(err error) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run(...) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn(...) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- type CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) Return(err error) *CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) Run(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue)) *CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) RunAndReturn(...) *CemCEVCInterface_WriteIncentives_Call
- type CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) Return(err error) *CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) Run(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue)) *CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) RunAndReturn(...) *CemCEVCInterface_WritePowerLimits_Call
- type CemEVCCInterface
- func (_mock *CemEVCCInterface) AddFeatures() error
- func (_mock *CemEVCCInterface) AddUseCase()
- func (_mock *CemEVCCInterface) AsymmetricChargingSupport(entity api.EntityRemoteInterface) (bool, error)
- func (_mock *CemEVCCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemEVCCInterface) ChargeState(entity api.EntityRemoteInterface) (api0.EVChargeStateType, error)
- func (_mock *CemEVCCInterface) ChargingPowerLimits(entity api.EntityRemoteInterface) (float64, float64, float64, error)
- func (_mock *CemEVCCInterface) CommunicationStandard(entity api.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)
- func (_mock *CemEVCCInterface) EVConnected(entity api.EntityRemoteInterface) bool
- func (_m *CemEVCCInterface) EXPECT() *CemEVCCInterface_Expecter
- func (_mock *CemEVCCInterface) Identifications(entity api.EntityRemoteInterface) ([]api0.IdentificationItem, error)
- func (_mock *CemEVCCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemEVCCInterface) IsInSleepMode(entity api.EntityRemoteInterface) (bool, error)
- func (_mock *CemEVCCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemEVCCInterface) ManufacturerData(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)
- func (_mock *CemEVCCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemEVCCInterface) RemoveUseCase()
- func (_mock *CemEVCCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVCCInterface_AddFeatures_Call
- func (_c *CemEVCCInterface_AddFeatures_Call) Return(err error) *CemEVCCInterface_AddFeatures_Call
- func (_c *CemEVCCInterface_AddFeatures_Call) Run(run func()) *CemEVCCInterface_AddFeatures_Call
- func (_c *CemEVCCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVCCInterface_AddFeatures_Call
- type CemEVCCInterface_AddUseCase_Call
- type CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Return(b bool, err error) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_AsymmetricChargingSupport_Call
- type CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
- type CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) Return(eVChargeStateType api0.EVChargeStateType, err error) *CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.EVChargeStateType, error)) *CemEVCCInterface_ChargeState_Call
- type CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Return(f float64, f1 float64, f2 float64, err error) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, float64, float64, error)) *CemEVCCInterface_ChargingPowerLimits_Call
- type CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) Return(...) *CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) RunAndReturn(...) *CemEVCCInterface_CommunicationStandard_Call
- type CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) Return(b bool) *CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCCInterface_EVConnected_Call
- type CemEVCCInterface_Expecter
- func (_e *CemEVCCInterface_Expecter) AddFeatures() *CemEVCCInterface_AddFeatures_Call
- func (_e *CemEVCCInterface_Expecter) AddUseCase() *CemEVCCInterface_AddUseCase_Call
- func (_e *CemEVCCInterface_Expecter) AsymmetricChargingSupport(entity interface{}) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_e *CemEVCCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVCCInterface_Expecter) ChargeState(entity interface{}) *CemEVCCInterface_ChargeState_Call
- func (_e *CemEVCCInterface_Expecter) ChargingPowerLimits(entity interface{}) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_e *CemEVCCInterface_Expecter) CommunicationStandard(entity interface{}) *CemEVCCInterface_CommunicationStandard_Call
- func (_e *CemEVCCInterface_Expecter) EVConnected(entity interface{}) *CemEVCCInterface_EVConnected_Call
- func (_e *CemEVCCInterface_Expecter) Identifications(entity interface{}) *CemEVCCInterface_Identifications_Call
- func (_e *CemEVCCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVCCInterface_Expecter) IsInSleepMode(entity interface{}) *CemEVCCInterface_IsInSleepMode_Call
- func (_e *CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVCCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVCCInterface_ManufacturerData_Call
- func (_e *CemEVCCInterface_Expecter) RemoteEntitiesScenarios() *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVCCInterface_Expecter) RemoveUseCase() *CemEVCCInterface_RemoveUseCase_Call
- func (_e *CemEVCCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- type CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) Return(identificationItems []api0.IdentificationItem, err error) *CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.IdentificationItem, error)) *CemEVCCInterface_Identifications_Call
- type CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCCInterface_IsCompatibleEntityType_Call
- type CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) Return(b bool, err error) *CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_IsInSleepMode_Call
- type CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) Return(manufacturerData api0.ManufacturerData, err error) *CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)) *CemEVCCInterface_ManufacturerData_Call
- type CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- type CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) Return() *CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) Run(run func()) *CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_RemoveUseCase_Call
- type CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- type CemEVCEMInterface
- func (_mock *CemEVCEMInterface) AddFeatures() error
- func (_mock *CemEVCEMInterface) AddUseCase()
- func (_mock *CemEVCEMInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemEVCEMInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_m *CemEVCEMInterface) EXPECT() *CemEVCEMInterface_Expecter
- func (_mock *CemEVCEMInterface) EnergyCharged(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemEVCEMInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemEVCEMInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemEVCEMInterface) PhasesConnected(entity api.EntityRemoteInterface) (uint, error)
- func (_mock *CemEVCEMInterface) PowerPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_mock *CemEVCEMInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *CemEVCEMInterface) RemoveUseCase()
- func (_mock *CemEVCEMInterface) UpdateUseCaseAvailability(available bool)
- type CemEVCEMInterface_AddFeatures_Call
- func (_c *CemEVCEMInterface_AddFeatures_Call) Return(err error) *CemEVCEMInterface_AddFeatures_Call
- func (_c *CemEVCEMInterface_AddFeatures_Call) Run(run func()) *CemEVCEMInterface_AddFeatures_Call
- func (_c *CemEVCEMInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVCEMInterface_AddFeatures_Call
- type CemEVCEMInterface_AddUseCase_Call
- type CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- type CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Return(...) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn(...) *CemEVCEMInterface_CurrentPerPhase_Call
- type CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) Return(f float64, err error) *CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemEVCEMInterface_EnergyCharged_Call
- type CemEVCEMInterface_Expecter
- func (_e *CemEVCEMInterface_Expecter) AddFeatures() *CemEVCEMInterface_AddFeatures_Call
- func (_e *CemEVCEMInterface_Expecter) AddUseCase() *CemEVCEMInterface_AddUseCase_Call
- func (_e *CemEVCEMInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVCEMInterface_Expecter) CurrentPerPhase(entity interface{}) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_e *CemEVCEMInterface_Expecter) EnergyCharged(entity interface{}) *CemEVCEMInterface_EnergyCharged_Call
- func (_e *CemEVCEMInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_e *CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVCEMInterface_Expecter) PhasesConnected(entity interface{}) *CemEVCEMInterface_PhasesConnected_Call
- func (_e *CemEVCEMInterface_Expecter) PowerPerPhase(entity interface{}) *CemEVCEMInterface_PowerPerPhase_Call
- func (_e *CemEVCEMInterface_Expecter) RemoteEntitiesScenarios() *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVCEMInterface_Expecter) RemoveUseCase() *CemEVCEMInterface_RemoveUseCase_Call
- func (_e *CemEVCEMInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- type CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
- type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- type CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) Return(v uint, err error) *CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (uint, error)) *CemEVCEMInterface_PhasesConnected_Call
- type CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) Return(...) *CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn(...) *CemEVCEMInterface_PowerPerPhase_Call
- type CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- type CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) Return() *CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) Run(run func()) *CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_RemoveUseCase_Call
- type CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Return() *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- type CemEVSECCInterface
- func (_mock *CemEVSECCInterface) AddFeatures() error
- func (_mock *CemEVSECCInterface) AddUseCase()
- func (_mock *CemEVSECCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *CemEVSECCInterface) EXPECT() *CemEVSECCInterface_Expecter
- func (_mock *CemEVSECCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemEVSECCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemEVSECCInterface) ManufacturerData(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)
- func (_mock *CemEVSECCInterface) OperatingState(entity api.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)
- func (_mock *CemEVSECCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemEVSECCInterface) RemoveUseCase()
- func (_mock *CemEVSECCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) Return(err error) *CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) Run(run func()) *CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVSECCInterface_AddFeatures_Call
- type CemEVSECCInterface_AddUseCase_Call
- type CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- type CemEVSECCInterface_Expecter
- func (_e *CemEVSECCInterface_Expecter) AddFeatures() *CemEVSECCInterface_AddFeatures_Call
- func (_e *CemEVSECCInterface_Expecter) AddUseCase() *CemEVSECCInterface_AddUseCase_Call
- func (_e *CemEVSECCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVSECCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVSECCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVSECCInterface_ManufacturerData_Call
- func (_e *CemEVSECCInterface_Expecter) OperatingState(entity interface{}) *CemEVSECCInterface_OperatingState_Call
- func (_e *CemEVSECCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVSECCInterface_Expecter) RemoveUseCase() *CemEVSECCInterface_RemoveUseCase_Call
- func (_e *CemEVSECCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- type CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
- type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) Return(manufacturerData api0.ManufacturerData, err error) *CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)) *CemEVSECCInterface_ManufacturerData_Call
- type CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) Return(deviceDiagnosisOperatingStateType model.DeviceDiagnosisOperatingStateType, ...) *CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) RunAndReturn(...) *CemEVSECCInterface_OperatingState_Call
- type CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- type CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) Return() *CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_RemoveUseCase_Call
- type CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- type CemEVSOCInterface
- func (_mock *CemEVSOCInterface) AddFeatures() error
- func (_mock *CemEVSOCInterface) AddUseCase()
- func (_mock *CemEVSOCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *CemEVSOCInterface) EXPECT() *CemEVSOCInterface_Expecter
- func (_mock *CemEVSOCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemEVSOCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemEVSOCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *CemEVSOCInterface) RemoveUseCase()
- func (_mock *CemEVSOCInterface) StateOfCharge(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemEVSOCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVSOCInterface_AddFeatures_Call
- func (_c *CemEVSOCInterface_AddFeatures_Call) Return(err error) *CemEVSOCInterface_AddFeatures_Call
- func (_c *CemEVSOCInterface_AddFeatures_Call) Run(run func()) *CemEVSOCInterface_AddFeatures_Call
- func (_c *CemEVSOCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVSOCInterface_AddFeatures_Call
- type CemEVSOCInterface_AddUseCase_Call
- type CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- type CemEVSOCInterface_Expecter
- func (_e *CemEVSOCInterface_Expecter) AddFeatures() *CemEVSOCInterface_AddFeatures_Call
- func (_e *CemEVSOCInterface_Expecter) AddUseCase() *CemEVSOCInterface_AddUseCase_Call
- func (_e *CemEVSOCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVSOCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVSOCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVSOCInterface_Expecter) RemoveUseCase() *CemEVSOCInterface_RemoveUseCase_Call
- func (_e *CemEVSOCInterface_Expecter) StateOfCharge(entity interface{}) *CemEVSOCInterface_StateOfCharge_Call
- func (_e *CemEVSOCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- type CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
- type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- type CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) Return() *CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_RemoveUseCase_Call
- type CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) Return(f float64, err error) *CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemEVSOCInterface_StateOfCharge_Call
- type CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- type CemOHPCFInterface
- func (_mock *CemOHPCFInterface) AbortPowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
- func (_mock *CemOHPCFInterface) AddFeatures() error
- func (_mock *CemOHPCFInterface) AddUseCase()
- func (_mock *CemOHPCFInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemOHPCFInterface) ConsumptionIsPausable(entity api.EntityRemoteInterface) (bool, error)
- func (_mock *CemOHPCFInterface) ConsumptionIsStoppable(entity api.EntityRemoteInterface) (bool, error)
- func (_m *CemOHPCFInterface) EXPECT() *CemOHPCFInterface_Expecter
- func (_mock *CemOHPCFInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemOHPCFInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemOHPCFInterface) OptionalPowerConsumption(entity api.EntityRemoteInterface) (*api0.OptionalPowerConsumptionInfo, error)
- func (_mock *CemOHPCFInterface) OptionalPowerConsumptionAvailable(entity api.EntityRemoteInterface) (bool, error)
- func (_mock *CemOHPCFInterface) PausePowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
- func (_mock *CemOHPCFInterface) PowerConsumptionMinimalPauseDuration(entity api.EntityRemoteInterface) (time.Duration, error)
- func (_mock *CemOHPCFInterface) PowerConsumptionMinimalRunDuration(entity api.EntityRemoteInterface) (time.Duration, error)
- func (_mock *CemOHPCFInterface) PowerConsumptionProcessStartTime(entity api.EntityRemoteInterface) (time.Time, error)
- func (_mock *CemOHPCFInterface) PowerConsumptionProcessState(entity api.EntityRemoteInterface) (api0.CompressorPowerConsumptionStateType, error)
- func (_mock *CemOHPCFInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemOHPCFInterface) RemoveUseCase()
- func (_mock *CemOHPCFInterface) RequestedPowerEstimate(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemOHPCFInterface) RequestedPowerMax(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemOHPCFInterface) ResumePowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
- func (_mock *CemOHPCFInterface) SchedulePowerConsumptionProcess(entity api.EntityRemoteInterface, startIn time.Duration, ...) (*model.MsgCounterType, error)
- func (_mock *CemOHPCFInterface) UpdateUseCaseAvailability(available bool)
- type CemOHPCFInterface_AbortPowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Run(...) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) RunAndReturn(...) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
- type CemOHPCFInterface_AddFeatures_Call
- func (_c *CemOHPCFInterface_AddFeatures_Call) Return(err error) *CemOHPCFInterface_AddFeatures_Call
- func (_c *CemOHPCFInterface_AddFeatures_Call) Run(run func()) *CemOHPCFInterface_AddFeatures_Call
- func (_c *CemOHPCFInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOHPCFInterface_AddFeatures_Call
- type CemOHPCFInterface_AddUseCase_Call
- type CemOHPCFInterface_AvailableScenariosForEntity_Call
- func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOHPCFInterface_AvailableScenariosForEntity_Call
- func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_AvailableScenariosForEntity_Call
- func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOHPCFInterface_AvailableScenariosForEntity_Call
- type CemOHPCFInterface_ConsumptionIsPausable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) Return(b bool, err error) *CemOHPCFInterface_ConsumptionIsPausable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_ConsumptionIsPausable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_ConsumptionIsPausable_Call
- type CemOHPCFInterface_ConsumptionIsStoppable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) Return(b bool, err error) *CemOHPCFInterface_ConsumptionIsStoppable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_ConsumptionIsStoppable_Call
- func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_ConsumptionIsStoppable_Call
- type CemOHPCFInterface_Expecter
- func (_e *CemOHPCFInterface_Expecter) AbortPowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
- func (_e *CemOHPCFInterface_Expecter) AddFeatures() *CemOHPCFInterface_AddFeatures_Call
- func (_e *CemOHPCFInterface_Expecter) AddUseCase() *CemOHPCFInterface_AddUseCase_Call
- func (_e *CemOHPCFInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOHPCFInterface_AvailableScenariosForEntity_Call
- func (_e *CemOHPCFInterface_Expecter) ConsumptionIsPausable(entity interface{}) *CemOHPCFInterface_ConsumptionIsPausable_Call
- func (_e *CemOHPCFInterface_Expecter) ConsumptionIsStoppable(entity interface{}) *CemOHPCFInterface_ConsumptionIsStoppable_Call
- func (_e *CemOHPCFInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOHPCFInterface_IsCompatibleEntityType_Call
- func (_e *CemOHPCFInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemOHPCFInterface_Expecter) OptionalPowerConsumption(entity interface{}) *CemOHPCFInterface_OptionalPowerConsumption_Call
- func (_e *CemOHPCFInterface_Expecter) OptionalPowerConsumptionAvailable(entity interface{}) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
- func (_e *CemOHPCFInterface_Expecter) PausePowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
- func (_e *CemOHPCFInterface_Expecter) PowerConsumptionMinimalPauseDuration(entity interface{}) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
- func (_e *CemOHPCFInterface_Expecter) PowerConsumptionMinimalRunDuration(entity interface{}) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
- func (_e *CemOHPCFInterface_Expecter) PowerConsumptionProcessStartTime(entity interface{}) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
- func (_e *CemOHPCFInterface_Expecter) PowerConsumptionProcessState(entity interface{}) *CemOHPCFInterface_PowerConsumptionProcessState_Call
- func (_e *CemOHPCFInterface_Expecter) RemoteEntitiesScenarios() *CemOHPCFInterface_RemoteEntitiesScenarios_Call
- func (_e *CemOHPCFInterface_Expecter) RemoveUseCase() *CemOHPCFInterface_RemoveUseCase_Call
- func (_e *CemOHPCFInterface_Expecter) RequestedPowerEstimate(entity interface{}) *CemOHPCFInterface_RequestedPowerEstimate_Call
- func (_e *CemOHPCFInterface_Expecter) RequestedPowerMax(entity interface{}) *CemOHPCFInterface_RequestedPowerMax_Call
- func (_e *CemOHPCFInterface_Expecter) ResumePowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
- func (_e *CemOHPCFInterface_Expecter) SchedulePowerConsumptionProcess(entity interface{}, startIn interface{}, resultCB interface{}) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
- func (_e *CemOHPCFInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
- type CemOHPCFInterface_IsCompatibleEntityType_Call
- func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOHPCFInterface_IsCompatibleEntityType_Call
- func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_IsCompatibleEntityType_Call
- func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOHPCFInterface_IsCompatibleEntityType_Call
- type CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
- type CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Return(b bool, err error) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
- type CemOHPCFInterface_OptionalPowerConsumption_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) Return(optionalPowerConsumptionInfo *api0.OptionalPowerConsumptionInfo, err error) *CemOHPCFInterface_OptionalPowerConsumption_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_OptionalPowerConsumption_Call
- func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) RunAndReturn(...) *CemOHPCFInterface_OptionalPowerConsumption_Call
- type CemOHPCFInterface_PausePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) Run(...) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) RunAndReturn(...) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
- type CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Return(duration time.Duration, err error) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
- type CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Return(duration time.Duration, err error) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
- func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
- type CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Return(time1 time.Time, err error) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Time, error)) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
- type CemOHPCFInterface_PowerConsumptionProcessState_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) Return(compressorPowerConsumptionStateType api0.CompressorPowerConsumptionStateType, ...) *CemOHPCFInterface_PowerConsumptionProcessState_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionProcessState_Call
- func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) RunAndReturn(...) *CemOHPCFInterface_PowerConsumptionProcessState_Call
- type CemOHPCFInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
- type CemOHPCFInterface_RemoveUseCase_Call
- func (_c *CemOHPCFInterface_RemoveUseCase_Call) Return() *CemOHPCFInterface_RemoveUseCase_Call
- func (_c *CemOHPCFInterface_RemoveUseCase_Call) Run(run func()) *CemOHPCFInterface_RemoveUseCase_Call
- func (_c *CemOHPCFInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOHPCFInterface_RemoveUseCase_Call
- type CemOHPCFInterface_RequestedPowerEstimate_Call
- func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) Return(f float64, err error) *CemOHPCFInterface_RequestedPowerEstimate_Call
- func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_RequestedPowerEstimate_Call
- func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemOHPCFInterface_RequestedPowerEstimate_Call
- type CemOHPCFInterface_RequestedPowerMax_Call
- func (_c *CemOHPCFInterface_RequestedPowerMax_Call) Return(f float64, err error) *CemOHPCFInterface_RequestedPowerMax_Call
- func (_c *CemOHPCFInterface_RequestedPowerMax_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_RequestedPowerMax_Call
- func (_c *CemOHPCFInterface_RequestedPowerMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemOHPCFInterface_RequestedPowerMax_Call
- type CemOHPCFInterface_ResumePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Run(...) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) RunAndReturn(...) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
- type CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Run(run func(entity api.EntityRemoteInterface, startIn time.Duration, ...)) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
- func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) RunAndReturn(...) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
- type CemOHPCFInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOHPCFInterface_UpdateUseCaseAvailability_Call) Return() *CemOHPCFInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOHPCFInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOHPCFInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
- type CemOPEVInterface
- func (_mock *CemOPEVInterface) AddFeatures() error
- func (_mock *CemOPEVInterface) AddUseCase()
- func (_mock *CemOPEVInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemOPEVInterface) CurrentLimits(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, ...)
- func (_m *CemOPEVInterface) EXPECT() *CemOPEVInterface_Expecter
- func (_mock *CemOPEVInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemOPEVInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemOPEVInterface) LoadControlLimits(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)
- func (_mock *CemOPEVInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemOPEVInterface) RemoveUseCase()
- func (_mock *CemOPEVInterface) SetOperatingState(failureState bool) error
- func (_mock *CemOPEVInterface) StartHeartbeat()
- func (_mock *CemOPEVInterface) StopHeartbeat()
- func (_mock *CemOPEVInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *CemOPEVInterface) WriteLoadControlLimits(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, ...) (*model.MsgCounterType, error)
- type CemOPEVInterface_AddFeatures_Call
- func (_c *CemOPEVInterface_AddFeatures_Call) Return(err error) *CemOPEVInterface_AddFeatures_Call
- func (_c *CemOPEVInterface_AddFeatures_Call) Run(run func()) *CemOPEVInterface_AddFeatures_Call
- func (_c *CemOPEVInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOPEVInterface_AddFeatures_Call
- type CemOPEVInterface_AddUseCase_Call
- type CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
- type CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) Return(...) *CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) RunAndReturn(...) *CemOPEVInterface_CurrentLimits_Call
- type CemOPEVInterface_Expecter
- func (_e *CemOPEVInterface_Expecter) AddFeatures() *CemOPEVInterface_AddFeatures_Call
- func (_e *CemOPEVInterface_Expecter) AddUseCase() *CemOPEVInterface_AddUseCase_Call
- func (_e *CemOPEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_e *CemOPEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOPEVInterface_CurrentLimits_Call
- func (_e *CemOPEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_e *CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemOPEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOPEVInterface_LoadControlLimits_Call
- func (_e *CemOPEVInterface_Expecter) RemoteEntitiesScenarios() *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_e *CemOPEVInterface_Expecter) RemoveUseCase() *CemOPEVInterface_RemoveUseCase_Call
- func (_e *CemOPEVInterface_Expecter) SetOperatingState(failureState interface{}) *CemOPEVInterface_SetOperatingState_Call
- func (_e *CemOPEVInterface_Expecter) StartHeartbeat() *CemOPEVInterface_StartHeartbeat_Call
- func (_e *CemOPEVInterface_Expecter) StopHeartbeat() *CemOPEVInterface_StopHeartbeat_Call
- func (_e *CemOPEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_e *CemOPEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOPEVInterface_WriteLoadControlLimits_Call
- type CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOPEVInterface_IsCompatibleEntityType_Call
- type CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- type CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) Return(limits []api0.LoadLimitsPhase, resultErr error) *CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)) *CemOPEVInterface_LoadControlLimits_Call
- type CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- type CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) Return() *CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) Run(run func()) *CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_RemoveUseCase_Call
- type CemOPEVInterface_SetOperatingState_Call
- func (_c *CemOPEVInterface_SetOperatingState_Call) Return(err error) *CemOPEVInterface_SetOperatingState_Call
- func (_c *CemOPEVInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemOPEVInterface_SetOperatingState_Call
- func (_c *CemOPEVInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemOPEVInterface_SetOperatingState_Call
- type CemOPEVInterface_StartHeartbeat_Call
- func (_c *CemOPEVInterface_StartHeartbeat_Call) Return() *CemOPEVInterface_StartHeartbeat_Call
- func (_c *CemOPEVInterface_StartHeartbeat_Call) Run(run func()) *CemOPEVInterface_StartHeartbeat_Call
- func (_c *CemOPEVInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemOPEVInterface_StartHeartbeat_Call
- type CemOPEVInterface_StopHeartbeat_Call
- func (_c *CemOPEVInterface_StopHeartbeat_Call) Return() *CemOPEVInterface_StopHeartbeat_Call
- func (_c *CemOPEVInterface_StopHeartbeat_Call) Run(run func()) *CemOPEVInterface_StopHeartbeat_Call
- func (_c *CemOPEVInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemOPEVInterface_StopHeartbeat_Call
- type CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Return() *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- type CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, ...)) *CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn(...) *CemOPEVInterface_WriteLoadControlLimits_Call
- type CemOSCEVInterface
- func (_mock *CemOSCEVInterface) AddFeatures() error
- func (_mock *CemOSCEVInterface) AddUseCase()
- func (_mock *CemOSCEVInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CemOSCEVInterface) CurrentLimits(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, ...)
- func (_m *CemOSCEVInterface) EXPECT() *CemOSCEVInterface_Expecter
- func (_mock *CemOSCEVInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemOSCEVInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemOSCEVInterface) LoadControlLimits(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)
- func (_mock *CemOSCEVInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CemOSCEVInterface) RemoveUseCase()
- func (_mock *CemOSCEVInterface) SetOperatingState(failureState bool) error
- func (_mock *CemOSCEVInterface) StartHeartbeat()
- func (_mock *CemOSCEVInterface) StopHeartbeat()
- func (_mock *CemOSCEVInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *CemOSCEVInterface) WriteLoadControlLimits(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, ...) (*model.MsgCounterType, error)
- type CemOSCEVInterface_AddFeatures_Call
- func (_c *CemOSCEVInterface_AddFeatures_Call) Return(err error) *CemOSCEVInterface_AddFeatures_Call
- func (_c *CemOSCEVInterface_AddFeatures_Call) Run(run func()) *CemOSCEVInterface_AddFeatures_Call
- func (_c *CemOSCEVInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOSCEVInterface_AddFeatures_Call
- type CemOSCEVInterface_AddUseCase_Call
- type CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- type CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) Return(...) *CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) RunAndReturn(...) *CemOSCEVInterface_CurrentLimits_Call
- type CemOSCEVInterface_Expecter
- func (_e *CemOSCEVInterface_Expecter) AddFeatures() *CemOSCEVInterface_AddFeatures_Call
- func (_e *CemOSCEVInterface_Expecter) AddUseCase() *CemOSCEVInterface_AddUseCase_Call
- func (_e *CemOSCEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_e *CemOSCEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOSCEVInterface_CurrentLimits_Call
- func (_e *CemOSCEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_e *CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemOSCEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOSCEVInterface_LoadControlLimits_Call
- func (_e *CemOSCEVInterface_Expecter) RemoteEntitiesScenarios() *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_e *CemOSCEVInterface_Expecter) RemoveUseCase() *CemOSCEVInterface_RemoveUseCase_Call
- func (_e *CemOSCEVInterface_Expecter) SetOperatingState(failureState interface{}) *CemOSCEVInterface_SetOperatingState_Call
- func (_e *CemOSCEVInterface_Expecter) StartHeartbeat() *CemOSCEVInterface_StartHeartbeat_Call
- func (_e *CemOSCEVInterface_Expecter) StopHeartbeat() *CemOSCEVInterface_StopHeartbeat_Call
- func (_e *CemOSCEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_e *CemOSCEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOSCEVInterface_WriteLoadControlLimits_Call
- type CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
- type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- type CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) Return(limits []api0.LoadLimitsPhase, resultErr error) *CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)) *CemOSCEVInterface_LoadControlLimits_Call
- type CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- type CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) Return() *CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) Run(run func()) *CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_RemoveUseCase_Call
- type CemOSCEVInterface_SetOperatingState_Call
- func (_c *CemOSCEVInterface_SetOperatingState_Call) Return(err error) *CemOSCEVInterface_SetOperatingState_Call
- func (_c *CemOSCEVInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemOSCEVInterface_SetOperatingState_Call
- func (_c *CemOSCEVInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemOSCEVInterface_SetOperatingState_Call
- type CemOSCEVInterface_StartHeartbeat_Call
- func (_c *CemOSCEVInterface_StartHeartbeat_Call) Return() *CemOSCEVInterface_StartHeartbeat_Call
- func (_c *CemOSCEVInterface_StartHeartbeat_Call) Run(run func()) *CemOSCEVInterface_StartHeartbeat_Call
- func (_c *CemOSCEVInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemOSCEVInterface_StartHeartbeat_Call
- type CemOSCEVInterface_StopHeartbeat_Call
- func (_c *CemOSCEVInterface_StopHeartbeat_Call) Return() *CemOSCEVInterface_StopHeartbeat_Call
- func (_c *CemOSCEVInterface_StopHeartbeat_Call) Run(run func()) *CemOSCEVInterface_StopHeartbeat_Call
- func (_c *CemOSCEVInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemOSCEVInterface_StopHeartbeat_Call
- type CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Return() *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- type CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, ...)) *CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn(...) *CemOSCEVInterface_WriteLoadControlLimits_Call
- type CemVABDInterface
- func (_mock *CemVABDInterface) AddFeatures() error
- func (_mock *CemVABDInterface) AddUseCase()
- func (_mock *CemVABDInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *CemVABDInterface) EXPECT() *CemVABDInterface_Expecter
- func (_mock *CemVABDInterface) EnergyCharged(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVABDInterface) EnergyDischarged(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVABDInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemVABDInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemVABDInterface) Power(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVABDInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *CemVABDInterface) RemoveUseCase()
- func (_mock *CemVABDInterface) StateOfCharge(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVABDInterface) UpdateUseCaseAvailability(available bool)
- type CemVABDInterface_AddFeatures_Call
- func (_c *CemVABDInterface_AddFeatures_Call) Return(err error) *CemVABDInterface_AddFeatures_Call
- func (_c *CemVABDInterface_AddFeatures_Call) Run(run func()) *CemVABDInterface_AddFeatures_Call
- func (_c *CemVABDInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemVABDInterface_AddFeatures_Call
- type CemVABDInterface_AddUseCase_Call
- type CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
- type CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) Return(f float64, err error) *CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyCharged_Call
- type CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) Return(f float64, err error) *CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyDischarged_Call
- type CemVABDInterface_Expecter
- func (_e *CemVABDInterface_Expecter) AddFeatures() *CemVABDInterface_AddFeatures_Call
- func (_e *CemVABDInterface_Expecter) AddUseCase() *CemVABDInterface_AddUseCase_Call
- func (_e *CemVABDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_e *CemVABDInterface_Expecter) EnergyCharged(entity interface{}) *CemVABDInterface_EnergyCharged_Call
- func (_e *CemVABDInterface_Expecter) EnergyDischarged(entity interface{}) *CemVABDInterface_EnergyDischarged_Call
- func (_e *CemVABDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_e *CemVABDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemVABDInterface_Expecter) Power(entity interface{}) *CemVABDInterface_Power_Call
- func (_e *CemVABDInterface_Expecter) RemoteEntitiesScenarios() *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_e *CemVABDInterface_Expecter) RemoveUseCase() *CemVABDInterface_RemoveUseCase_Call
- func (_e *CemVABDInterface_Expecter) StateOfCharge(entity interface{}) *CemVABDInterface_StateOfCharge_Call
- func (_e *CemVABDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVABDInterface_UpdateUseCaseAvailability_Call
- type CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Return(b bool) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemVABDInterface_IsCompatibleEntityType_Call
- type CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- type CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) Return(f float64, err error) *CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_Power_Call
- type CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
- type CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) Return() *CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) Run(run func()) *CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_RemoveUseCase_Call
- type CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) Return(f float64, err error) *CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_StateOfCharge_Call
- type CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Return() *CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
- type CemVAPDInterface
- func (_mock *CemVAPDInterface) AddFeatures() error
- func (_mock *CemVAPDInterface) AddUseCase()
- func (_mock *CemVAPDInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *CemVAPDInterface) EXPECT() *CemVAPDInterface_Expecter
- func (_mock *CemVAPDInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CemVAPDInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CemVAPDInterface) PVYieldTotal(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVAPDInterface) Power(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVAPDInterface) PowerNominalPeak(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *CemVAPDInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *CemVAPDInterface) RemoveUseCase()
- func (_mock *CemVAPDInterface) UpdateUseCaseAvailability(available bool)
- type CemVAPDInterface_AddFeatures_Call
- func (_c *CemVAPDInterface_AddFeatures_Call) Return(err error) *CemVAPDInterface_AddFeatures_Call
- func (_c *CemVAPDInterface_AddFeatures_Call) Run(run func()) *CemVAPDInterface_AddFeatures_Call
- func (_c *CemVAPDInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemVAPDInterface_AddFeatures_Call
- type CemVAPDInterface_AddUseCase_Call
- type CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
- type CemVAPDInterface_Expecter
- func (_e *CemVAPDInterface_Expecter) AddFeatures() *CemVAPDInterface_AddFeatures_Call
- func (_e *CemVAPDInterface_Expecter) AddUseCase() *CemVAPDInterface_AddUseCase_Call
- func (_e *CemVAPDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_e *CemVAPDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_e *CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemVAPDInterface_Expecter) PVYieldTotal(entity interface{}) *CemVAPDInterface_PVYieldTotal_Call
- func (_e *CemVAPDInterface_Expecter) Power(entity interface{}) *CemVAPDInterface_Power_Call
- func (_e *CemVAPDInterface_Expecter) PowerNominalPeak(entity interface{}) *CemVAPDInterface_PowerNominalPeak_Call
- func (_e *CemVAPDInterface_Expecter) RemoteEntitiesScenarios() *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_e *CemVAPDInterface_Expecter) RemoveUseCase() *CemVAPDInterface_RemoveUseCase_Call
- func (_e *CemVAPDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- type CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Return(b bool) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemVAPDInterface_IsCompatibleEntityType_Call
- type CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- type CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) Return(f float64, err error) *CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PVYieldTotal_Call
- type CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) Return(f float64, err error) *CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PowerNominalPeak_Call
- type CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) Return(f float64, err error) *CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_Power_Call
- type CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- type CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) Return() *CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) Run(run func()) *CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_RemoveUseCase_Call
- type CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Return() *CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- type CsLPCInterface
- func (_mock *CsLPCInterface) AddFeatures() error
- func (_mock *CsLPCInterface) AddUseCase()
- func (_mock *CsLPCInterface) ApproveOrDenyConsumptionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_mock *CsLPCInterface) ApproveOrDenyDeviceConfiguration(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_mock *CsLPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *CsLPCInterface) ConsumptionLimit() (api0.LoadLimit, error)
- func (_mock *CsLPCInterface) ConsumptionNominalMax() (float64, error)
- func (_m *CsLPCInterface) EXPECT() *CsLPCInterface_Expecter
- func (_mock *CsLPCInterface) FailsafeConsumptionActivePowerLimit() (float64, bool, error)
- func (_mock *CsLPCInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
- func (_mock *CsLPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CsLPCInterface) IsHeartbeatWithinDuration() bool
- func (_mock *CsLPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CsLPCInterface) PendingConsumptionLimits() map[model.MsgCounterType]api0.LoadLimit
- func (_mock *CsLPCInterface) PendingDeviceConfigurations() map[model.MsgCounterType][]api0.PendingDeviceConfiguration
- func (_mock *CsLPCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CsLPCInterface) RemoveUseCase()
- func (_mock *CsLPCInterface) SetConsumptionLimit(limit api0.LoadLimit) error
- func (_mock *CsLPCInterface) SetConsumptionNominalMax(value float64) error
- func (_mock *CsLPCInterface) SetFailsafeConsumptionActivePowerLimit(value float64, changeable bool) error
- func (_mock *CsLPCInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
- func (_mock *CsLPCInterface) StartHeartbeat()
- func (_mock *CsLPCInterface) StopHeartbeat()
- func (_mock *CsLPCInterface) UpdateUseCaseAvailability(available bool)
- type CsLPCInterface_AddFeatures_Call
- type CsLPCInterface_AddUseCase_Call
- type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Return() *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- type CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Return() *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
- type CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
- type CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) Return(loadLimit api0.LoadLimit, err error) *CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) Run(run func()) *CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func() (api0.LoadLimit, error)) *CsLPCInterface_ConsumptionLimit_Call
- type CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Return(f float64, err error) *CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Run(run func()) *CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPCInterface_ConsumptionNominalMax_Call
- type CsLPCInterface_Expecter
- func (_e *CsLPCInterface_Expecter) AddFeatures() *CsLPCInterface_AddFeatures_Call
- func (_e *CsLPCInterface_Expecter) AddUseCase() *CsLPCInterface_AddUseCase_Call
- func (_e *CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) ApproveOrDenyDeviceConfiguration(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_e *CsLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_e *CsLPCInterface_Expecter) ConsumptionLimit() *CsLPCInterface_ConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) ConsumptionNominalMax() *CsLPCInterface_ConsumptionNominalMax_Call
- func (_e *CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit() *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_e *CsLPCInterface_Expecter) FailsafeDurationMinimum() *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_e *CsLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_e *CsLPCInterface_Expecter) IsHeartbeatWithinDuration() *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_e *CsLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CsLPCInterface_Expecter) PendingConsumptionLimits() *CsLPCInterface_PendingConsumptionLimits_Call
- func (_e *CsLPCInterface_Expecter) PendingDeviceConfigurations() *CsLPCInterface_PendingDeviceConfigurations_Call
- func (_e *CsLPCInterface_Expecter) RemoteEntitiesScenarios() *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_e *CsLPCInterface_Expecter) RemoveUseCase() *CsLPCInterface_RemoveUseCase_Call
- func (_e *CsLPCInterface_Expecter) SetConsumptionLimit(limit interface{}) *CsLPCInterface_SetConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) SetConsumptionNominalMax(value interface{}) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_e *CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit(value interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_e *CsLPCInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_e *CsLPCInterface_Expecter) StartHeartbeat() *CsLPCInterface_StartHeartbeat_Call
- func (_e *CsLPCInterface_Expecter) StopHeartbeat() *CsLPCInterface_StopHeartbeat_Call
- func (_e *CsLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPCInterface_UpdateUseCaseAvailability_Call
- type CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func()) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- type CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPCInterface_FailsafeDurationMinimum_Call
- type CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Return(b bool) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CsLPCInterface_IsCompatibleEntityType_Call
- type CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- type CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- type CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Return(msgCounterTypeToLoadLimit map[model.MsgCounterType]api0.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Run(run func()) *CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api0.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
- type CsLPCInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) Return(...) *CsLPCInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) Run(run func()) *CsLPCInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) RunAndReturn(run func() map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPCInterface_PendingDeviceConfigurations_Call
- type CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
- type CsLPCInterface_RemoveUseCase_Call
- type CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) Run(run func(limit api0.LoadLimit)) *CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn(run func(limit api0.LoadLimit) error) *CsLPCInterface_SetConsumptionLimit_Call
- type CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Run(run func(value float64)) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn(run func(value float64) error) *CsLPCInterface_SetConsumptionNominalMax_Call
- type CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(value float64, changeable bool) error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- type CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(duration time.Duration, changeable bool) error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- type CsLPCInterface_StartHeartbeat_Call
- type CsLPCInterface_StopHeartbeat_Call
- type CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Return() *CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
- type CsLPPInterface
- func (_mock *CsLPPInterface) AddFeatures() error
- func (_mock *CsLPPInterface) AddUseCase()
- func (_mock *CsLPPInterface) ApproveOrDenyDeviceConfiguration(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_mock *CsLPPInterface) ApproveOrDenyProductionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_mock *CsLPPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *CsLPPInterface) EXPECT() *CsLPPInterface_Expecter
- func (_mock *CsLPPInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
- func (_mock *CsLPPInterface) FailsafeProductionActivePowerLimit() (float64, bool, error)
- func (_mock *CsLPPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *CsLPPInterface) IsHeartbeatWithinDuration() bool
- func (_mock *CsLPPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *CsLPPInterface) PendingDeviceConfigurations() map[model.MsgCounterType][]api0.PendingDeviceConfiguration
- func (_mock *CsLPPInterface) PendingProductionLimits() map[model.MsgCounterType]api0.LoadLimit
- func (_mock *CsLPPInterface) ProductionLimit() (api0.LoadLimit, error)
- func (_mock *CsLPPInterface) ProductionNominalMax() (float64, error)
- func (_mock *CsLPPInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *CsLPPInterface) RemoveUseCase()
- func (_mock *CsLPPInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
- func (_mock *CsLPPInterface) SetFailsafeProductionActivePowerLimit(value float64, changeable bool) error
- func (_mock *CsLPPInterface) SetProductionLimit(limit api0.LoadLimit) error
- func (_mock *CsLPPInterface) SetProductionNominalMax(value float64) error
- func (_mock *CsLPPInterface) StartHeartbeat()
- func (_mock *CsLPPInterface) StopHeartbeat()
- func (_mock *CsLPPInterface) UpdateUseCaseAvailability(available bool)
- type CsLPPInterface_AddFeatures_Call
- type CsLPPInterface_AddUseCase_Call
- type CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Return() *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_c *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
- type CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Return() *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- type CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
- type CsLPPInterface_Expecter
- func (_e *CsLPPInterface_Expecter) AddFeatures() *CsLPPInterface_AddFeatures_Call
- func (_e *CsLPPInterface_Expecter) AddUseCase() *CsLPPInterface_AddUseCase_Call
- func (_e *CsLPPInterface_Expecter) ApproveOrDenyDeviceConfiguration(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
- func (_e *CsLPPInterface_Expecter) ApproveOrDenyProductionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_e *CsLPPInterface_Expecter) FailsafeDurationMinimum() *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_e *CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit() *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_e *CsLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_e *CsLPPInterface_Expecter) IsHeartbeatWithinDuration() *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_e *CsLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CsLPPInterface_Expecter) PendingDeviceConfigurations() *CsLPPInterface_PendingDeviceConfigurations_Call
- func (_e *CsLPPInterface_Expecter) PendingProductionLimits() *CsLPPInterface_PendingProductionLimits_Call
- func (_e *CsLPPInterface_Expecter) ProductionLimit() *CsLPPInterface_ProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) ProductionNominalMax() *CsLPPInterface_ProductionNominalMax_Call
- func (_e *CsLPPInterface_Expecter) RemoteEntitiesScenarios() *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_e *CsLPPInterface_Expecter) RemoveUseCase() *CsLPPInterface_RemoveUseCase_Call
- func (_e *CsLPPInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_e *CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit(value interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_e *CsLPPInterface_Expecter) SetProductionLimit(limit interface{}) *CsLPPInterface_SetProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) SetProductionNominalMax(value interface{}) *CsLPPInterface_SetProductionNominalMax_Call
- func (_e *CsLPPInterface_Expecter) StartHeartbeat() *CsLPPInterface_StartHeartbeat_Call
- func (_e *CsLPPInterface_Expecter) StopHeartbeat() *CsLPPInterface_StopHeartbeat_Call
- func (_e *CsLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPPInterface_UpdateUseCaseAvailability_Call
- type CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPPInterface_FailsafeDurationMinimum_Call
- type CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func()) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- type CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Return(b bool) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CsLPPInterface_IsCompatibleEntityType_Call
- type CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- type CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- type CsLPPInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) Return(...) *CsLPPInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) Run(run func()) *CsLPPInterface_PendingDeviceConfigurations_Call
- func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) RunAndReturn(run func() map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPPInterface_PendingDeviceConfigurations_Call
- type CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) Return(msgCounterTypeToLoadLimit map[model.MsgCounterType]api0.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) Run(run func()) *CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api0.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
- type CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) Return(loadLimit api0.LoadLimit, err error) *CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) Run(run func()) *CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) RunAndReturn(run func() (api0.LoadLimit, error)) *CsLPPInterface_ProductionLimit_Call
- type CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) Return(f float64, err error) *CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) Run(run func()) *CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPPInterface_ProductionNominalMax_Call
- type CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
- type CsLPPInterface_RemoveUseCase_Call
- type CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(duration time.Duration, changeable bool) error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- type CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(value float64, changeable bool) error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- type CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) Return(resultErr error) *CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) Run(run func(limit api0.LoadLimit)) *CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) RunAndReturn(run func(limit api0.LoadLimit) error) *CsLPPInterface_SetProductionLimit_Call
- type CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) Return(resultErr error) *CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) Run(run func(value float64)) *CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn(run func(value float64) error) *CsLPPInterface_SetProductionNominalMax_Call
- type CsLPPInterface_StartHeartbeat_Call
- type CsLPPInterface_StopHeartbeat_Call
- type CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Return() *CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
- type EgLPCInterface
- func (_mock *EgLPCInterface) AddFeatures() error
- func (_mock *EgLPCInterface) AddUseCase()
- func (_mock *EgLPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *EgLPCInterface) ConsumptionLimit(entity api.EntityRemoteInterface) (api0.LoadLimit, error)
- func (_mock *EgLPCInterface) ConsumptionNominalMax(entity api.EntityRemoteInterface) (float64, error)
- func (_m *EgLPCInterface) EXPECT() *EgLPCInterface_Expecter
- func (_mock *EgLPCInterface) FailsafeConsumptionActivePowerLimit(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *EgLPCInterface) FailsafeDurationMinimum(entity api.EntityRemoteInterface) (time.Duration, error)
- func (_mock *EgLPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *EgLPCInterface) IsHeartbeatWithinDuration(entity api.EntityRemoteInterface) bool
- func (_mock *EgLPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *EgLPCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *EgLPCInterface) RemoveUseCase()
- func (_mock *EgLPCInterface) StartHeartbeat()
- func (_mock *EgLPCInterface) StopHeartbeat()
- func (_mock *EgLPCInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *EgLPCInterface) WriteConsumptionLimit(entity api.EntityRemoteInterface, limit api0.LoadLimit, ...) (*model.MsgCounterType, error)
- func (_mock *EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
- func (_mock *EgLPCInterface) WriteFailsafeDurationMinimum(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
- type EgLPCInterface_AddFeatures_Call
- type EgLPCInterface_AddUseCase_Call
- type EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
- type EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) Return(limit api0.LoadLimit, resultErr error) *EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.LoadLimit, error)) *EgLPCInterface_ConsumptionLimit_Call
- type EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Return(f float64, err error) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPCInterface_ConsumptionNominalMax_Call
- type EgLPCInterface_Expecter
- func (_e *EgLPCInterface_Expecter) AddFeatures() *EgLPCInterface_AddFeatures_Call
- func (_e *EgLPCInterface_Expecter) AddUseCase() *EgLPCInterface_AddUseCase_Call
- func (_e *EgLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_e *EgLPCInterface_Expecter) ConsumptionLimit(entity interface{}) *EgLPCInterface_ConsumptionLimit_Call
- func (_e *EgLPCInterface_Expecter) ConsumptionNominalMax(entity interface{}) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_e *EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit(entity interface{}) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_e *EgLPCInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_e *EgLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_e *EgLPCInterface_Expecter) IsHeartbeatWithinDuration(entity interface{}) *EgLPCInterface_IsHeartbeatWithinDuration_Call
- func (_e *EgLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *EgLPCInterface_Expecter) RemoteEntitiesScenarios() *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_e *EgLPCInterface_Expecter) RemoveUseCase() *EgLPCInterface_RemoveUseCase_Call
- func (_e *EgLPCInterface_Expecter) StartHeartbeat() *EgLPCInterface_StartHeartbeat_Call
- func (_e *EgLPCInterface_Expecter) StopHeartbeat() *EgLPCInterface_StopHeartbeat_Call
- func (_e *EgLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_e *EgLPCInterface_Expecter) WriteConsumptionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_e *EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit(entity interface{}, value interface{}) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_e *EgLPCInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- type EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(f float64, err error) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- type EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, err error) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *EgLPCInterface_FailsafeDurationMinimum_Call
- type EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Return(b bool) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPCInterface_IsCompatibleEntityType_Call
- type EgLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *EgLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPCInterface_IsHeartbeatWithinDuration_Call
- type EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- type EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
- type EgLPCInterface_RemoveUseCase_Call
- type EgLPCInterface_StartHeartbeat_Call
- type EgLPCInterface_StopHeartbeat_Call
- type EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Return() *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
- type EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Run(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, ...)) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn(...) *EgLPCInterface_WriteConsumptionLimit_Call
- type EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface, value float64)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(...) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- type EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface, duration time.Duration)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(...) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- type EgLPPInterface
- func (_mock *EgLPPInterface) AddFeatures() error
- func (_mock *EgLPPInterface) AddUseCase()
- func (_mock *EgLPPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *EgLPPInterface) EXPECT() *EgLPPInterface_Expecter
- func (_mock *EgLPPInterface) FailsafeDurationMinimum(entity api.EntityRemoteInterface) (time.Duration, error)
- func (_mock *EgLPPInterface) FailsafeProductionActivePowerLimit(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *EgLPPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *EgLPPInterface) IsHeartbeatWithinDuration(entity api.EntityRemoteInterface) bool
- func (_mock *EgLPPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *EgLPPInterface) ProductionLimit(entity api.EntityRemoteInterface) (api0.LoadLimit, error)
- func (_mock *EgLPPInterface) ProductionNominalMax(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *EgLPPInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
- func (_mock *EgLPPInterface) RemoveUseCase()
- func (_mock *EgLPPInterface) StartHeartbeat()
- func (_mock *EgLPPInterface) StopHeartbeat()
- func (_mock *EgLPPInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *EgLPPInterface) WriteFailsafeDurationMinimum(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
- func (_mock *EgLPPInterface) WriteFailsafeProductionActivePowerLimit(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
- func (_mock *EgLPPInterface) WriteProductionLimit(entity api.EntityRemoteInterface, limit api0.LoadLimit, ...) (*model.MsgCounterType, error)
- type EgLPPInterface_AddFeatures_Call
- type EgLPPInterface_AddUseCase_Call
- type EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
- type EgLPPInterface_Expecter
- func (_e *EgLPPInterface_Expecter) AddFeatures() *EgLPPInterface_AddFeatures_Call
- func (_e *EgLPPInterface_Expecter) AddUseCase() *EgLPPInterface_AddUseCase_Call
- func (_e *EgLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_e *EgLPPInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_e *EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit(entity interface{}) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_e *EgLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_e *EgLPPInterface_Expecter) IsHeartbeatWithinDuration(entity interface{}) *EgLPPInterface_IsHeartbeatWithinDuration_Call
- func (_e *EgLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *EgLPPInterface_Expecter) ProductionLimit(entity interface{}) *EgLPPInterface_ProductionLimit_Call
- func (_e *EgLPPInterface_Expecter) ProductionNominalMax(entity interface{}) *EgLPPInterface_ProductionNominalMax_Call
- func (_e *EgLPPInterface_Expecter) RemoteEntitiesScenarios() *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_e *EgLPPInterface_Expecter) RemoveUseCase() *EgLPPInterface_RemoveUseCase_Call
- func (_e *EgLPPInterface_Expecter) StartHeartbeat() *EgLPPInterface_StartHeartbeat_Call
- func (_e *EgLPPInterface_Expecter) StopHeartbeat() *EgLPPInterface_StopHeartbeat_Call
- func (_e *EgLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_e *EgLPPInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_e *EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit(entity interface{}, value interface{}) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_e *EgLPPInterface_Expecter) WriteProductionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPPInterface_WriteProductionLimit_Call
- type EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, err error) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *EgLPPInterface_FailsafeDurationMinimum_Call
- type EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(f float64, err error) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- type EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Return(b bool) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPPInterface_IsCompatibleEntityType_Call
- type EgLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *EgLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPPInterface_IsHeartbeatWithinDuration_Call
- type EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- type EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) Return(limit api0.LoadLimit, resultErr error) *EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.LoadLimit, error)) *EgLPPInterface_ProductionLimit_Call
- type EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) Return(f float64, err error) *EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPPInterface_ProductionNominalMax_Call
- type EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
- type EgLPPInterface_RemoveUseCase_Call
- type EgLPPInterface_StartHeartbeat_Call
- type EgLPPInterface_StopHeartbeat_Call
- type EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Return() *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
- type EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface, duration time.Duration)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(...) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- type EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface, value float64)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn(...) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- type EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) Run(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, ...)) *EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) RunAndReturn(...) *EgLPPInterface_WriteProductionLimit_Call
- type GcpMGCPInterface
- func (_mock *GcpMGCPInterface) AddFeatures() error
- func (_mock *GcpMGCPInterface) AddUseCase()
- func (_mock *GcpMGCPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *GcpMGCPInterface) CurrentPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_m *GcpMGCPInterface) EXPECT() *GcpMGCPInterface_Expecter
- func (_mock *GcpMGCPInterface) EnergyConsumed() (float64, error)
- func (_mock *GcpMGCPInterface) EnergyFeedIn() (float64, error)
- func (_mock *GcpMGCPInterface) Frequency() (float64, error)
- func (_mock *GcpMGCPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *GcpMGCPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *GcpMGCPInterface) PowerLimitationFactor() (float64, error)
- func (_mock *GcpMGCPInterface) PowerTotal() (float64, error)
- func (_mock *GcpMGCPInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *GcpMGCPInterface) RemoveUseCase()
- func (_mock *GcpMGCPInterface) Update(updateValueTypes ...api1.UpdateData) error
- func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseA(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseB(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseC(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataEnergyConsumed(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataEnergyFeedIn(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataFrequency(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataPowerLimitationFactor(value float64) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataPowerTotal(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseA(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseAToB(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseB(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseBToC(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseC(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseCToA(value float64, timestamp *time.Time, ...) api1.UpdateData
- func (_mock *GcpMGCPInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *GcpMGCPInterface) VoltagePerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
- type GcpMGCPInterface_AddFeatures_Call
- func (_c *GcpMGCPInterface_AddFeatures_Call) Return(err error) *GcpMGCPInterface_AddFeatures_Call
- func (_c *GcpMGCPInterface_AddFeatures_Call) Run(run func()) *GcpMGCPInterface_AddFeatures_Call
- func (_c *GcpMGCPInterface_AddFeatures_Call) RunAndReturn(run func() error) *GcpMGCPInterface_AddFeatures_Call
- type GcpMGCPInterface_AddUseCase_Call
- type GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- type GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Return(...) *GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Run(run func()) *GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *GcpMGCPInterface_CurrentPerPhase_Call
- type GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) Return(f float64, err error) *GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) Run(run func()) *GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_EnergyConsumed_Call
- type GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Return(f float64, err error) *GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Run(run func()) *GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_EnergyFeedIn_Call
- type GcpMGCPInterface_Expecter
- func (_e *GcpMGCPInterface_Expecter) AddFeatures() *GcpMGCPInterface_AddFeatures_Call
- func (_e *GcpMGCPInterface_Expecter) AddUseCase() *GcpMGCPInterface_AddUseCase_Call
- func (_e *GcpMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_e *GcpMGCPInterface_Expecter) CurrentPerPhase() *GcpMGCPInterface_CurrentPerPhase_Call
- func (_e *GcpMGCPInterface_Expecter) EnergyConsumed() *GcpMGCPInterface_EnergyConsumed_Call
- func (_e *GcpMGCPInterface_Expecter) EnergyFeedIn() *GcpMGCPInterface_EnergyFeedIn_Call
- func (_e *GcpMGCPInterface_Expecter) Frequency() *GcpMGCPInterface_Frequency_Call
- func (_e *GcpMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_e *GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *GcpMGCPInterface_Expecter) PowerLimitationFactor() *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_e *GcpMGCPInterface_Expecter) PowerTotal() *GcpMGCPInterface_PowerTotal_Call
- func (_e *GcpMGCPInterface_Expecter) RemoteEntitiesScenarios() *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_e *GcpMGCPInterface_Expecter) RemoveUseCase() *GcpMGCPInterface_RemoveUseCase_Call
- func (_e *GcpMGCPInterface_Expecter) Update(updateValueTypes ...interface{}) *GcpMGCPInterface_Update_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataEnergyConsumed(value interface{}, timestamp interface{}, valueState interface{}, ...) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataEnergyFeedIn(value interface{}, timestamp interface{}, valueState interface{}, ...) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataFrequency(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataFrequency_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataPowerLimitationFactor(value interface{}) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataPowerTotal(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataPowerTotal_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseAToB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseBToC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseCToA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_e *GcpMGCPInterface_Expecter) VoltagePerPhase() *GcpMGCPInterface_VoltagePerPhase_Call
- type GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) Return(f float64, err error) *GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) Run(run func()) *GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_Frequency_Call
- type GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Return(b bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
- type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- type GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Return(f float64, err error) *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Run(run func()) *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_PowerLimitationFactor_Call
- type GcpMGCPInterface_PowerTotal_Call
- func (_c *GcpMGCPInterface_PowerTotal_Call) Return(f float64, err error) *GcpMGCPInterface_PowerTotal_Call
- func (_c *GcpMGCPInterface_PowerTotal_Call) Run(run func()) *GcpMGCPInterface_PowerTotal_Call
- func (_c *GcpMGCPInterface_PowerTotal_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_PowerTotal_Call
- type GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- type GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) Return() *GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) Run(run func()) *GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_RemoveUseCase_Call
- type GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
- type GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
- type GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
- type GcpMGCPInterface_UpdateDataEnergyConsumed_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
- type GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
- func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
- type GcpMGCPInterface_UpdateDataFrequency_Call
- func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataFrequency_Call
- func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataFrequency_Call
- func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataFrequency_Call
- type GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Run(run func(value float64)) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) RunAndReturn(run func(value float64) api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
- type GcpMGCPInterface_UpdateDataPowerTotal_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerTotal_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataPowerTotal_Call
- func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerTotal_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
- type GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
- func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
- type GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Return() *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- type GcpMGCPInterface_Update_Call
- func (_c *GcpMGCPInterface_Update_Call) Return(err error) *GcpMGCPInterface_Update_Call
- func (_c *GcpMGCPInterface_Update_Call) Run(run func(updateValueTypes ...api1.UpdateData)) *GcpMGCPInterface_Update_Call
- func (_c *GcpMGCPInterface_Update_Call) RunAndReturn(run func(updateValueTypes ...api1.UpdateData) error) *GcpMGCPInterface_Update_Call
- type GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Return(...) *GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Run(run func()) *GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *GcpMGCPInterface_VoltagePerPhase_Call
- type MaMDTInterface
- func (_mock *MaMDTInterface) AddFeatures()
- func (_mock *MaMDTInterface) AddUseCase()
- func (_mock *MaMDTInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_m *MaMDTInterface) EXPECT() *MaMDTInterface_Expecter
- func (_mock *MaMDTInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *MaMDTInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *MaMDTInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *MaMDTInterface) RemoveUseCase()
- func (_mock *MaMDTInterface) Temperature(entity api.EntityRemoteInterface, unit model.UnitOfMeasurementType) (float64, error)
- func (_mock *MaMDTInterface) UpdateUseCaseAvailability(available bool)
- type MaMDTInterface_AddFeatures_Call
- type MaMDTInterface_AddUseCase_Call
- type MaMDTInterface_AvailableScenariosForEntity_Call
- func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMDTInterface_AvailableScenariosForEntity_Call
- func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMDTInterface_AvailableScenariosForEntity_Call
- func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMDTInterface_AvailableScenariosForEntity_Call
- type MaMDTInterface_Expecter
- func (_e *MaMDTInterface_Expecter) AddFeatures() *MaMDTInterface_AddFeatures_Call
- func (_e *MaMDTInterface_Expecter) AddUseCase() *MaMDTInterface_AddUseCase_Call
- func (_e *MaMDTInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMDTInterface_AvailableScenariosForEntity_Call
- func (_e *MaMDTInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMDTInterface_IsCompatibleEntityType_Call
- func (_e *MaMDTInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MaMDTInterface_Expecter) RemoteEntitiesScenarios() *MaMDTInterface_RemoteEntitiesScenarios_Call
- func (_e *MaMDTInterface_Expecter) RemoveUseCase() *MaMDTInterface_RemoveUseCase_Call
- func (_e *MaMDTInterface_Expecter) Temperature(entity interface{}, unit interface{}) *MaMDTInterface_Temperature_Call
- func (_e *MaMDTInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMDTInterface_UpdateUseCaseAvailability_Call
- type MaMDTInterface_IsCompatibleEntityType_Call
- func (_c *MaMDTInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMDTInterface_IsCompatibleEntityType_Call
- func (_c *MaMDTInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMDTInterface_IsCompatibleEntityType_Call
- func (_c *MaMDTInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMDTInterface_IsCompatibleEntityType_Call
- type MaMDTInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMDTInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMDTInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMDTInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
- type MaMDTInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMDTInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMDTInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMDTInterface_RemoteEntitiesScenarios_Call
- type MaMDTInterface_RemoveUseCase_Call
- type MaMDTInterface_Temperature_Call
- func (_c *MaMDTInterface_Temperature_Call) Return(f float64, err error) *MaMDTInterface_Temperature_Call
- func (_c *MaMDTInterface_Temperature_Call) Run(run func(entity api.EntityRemoteInterface, unit model.UnitOfMeasurementType)) *MaMDTInterface_Temperature_Call
- func (_c *MaMDTInterface_Temperature_Call) RunAndReturn(...) *MaMDTInterface_Temperature_Call
- type MaMDTInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMDTInterface_UpdateUseCaseAvailability_Call) Return() *MaMDTInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMDTInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMDTInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMDTInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMDTInterface_UpdateUseCaseAvailability_Call
- type MaMGCPInterface
- func (_mock *MaMGCPInterface) AddFeatures() error
- func (_mock *MaMGCPInterface) AddUseCase()
- func (_mock *MaMGCPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *MaMGCPInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_m *MaMGCPInterface) EXPECT() *MaMGCPInterface_Expecter
- func (_mock *MaMGCPInterface) EnergyConsumed(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMGCPInterface) EnergyFeedIn(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMGCPInterface) Frequency(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMGCPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *MaMGCPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *MaMGCPInterface) Power(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMGCPInterface) PowerLimitationFactor(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMGCPInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *MaMGCPInterface) RemoveUseCase()
- func (_mock *MaMGCPInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *MaMGCPInterface) VoltagePerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- type MaMGCPInterface_AddFeatures_Call
- type MaMGCPInterface_AddUseCase_Call
- type MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
- type MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) Return(...) *MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn(...) *MaMGCPInterface_CurrentPerPhase_Call
- type MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) Return(f float64, err error) *MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyConsumed_Call
- type MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) Return(f float64, err error) *MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyFeedIn_Call
- type MaMGCPInterface_Expecter
- func (_e *MaMGCPInterface_Expecter) AddFeatures() *MaMGCPInterface_AddFeatures_Call
- func (_e *MaMGCPInterface_Expecter) AddUseCase() *MaMGCPInterface_AddUseCase_Call
- func (_e *MaMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_e *MaMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMGCPInterface_CurrentPerPhase_Call
- func (_e *MaMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *MaMGCPInterface_EnergyConsumed_Call
- func (_e *MaMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *MaMGCPInterface_EnergyFeedIn_Call
- func (_e *MaMGCPInterface_Expecter) Frequency(entity interface{}) *MaMGCPInterface_Frequency_Call
- func (_e *MaMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_e *MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MaMGCPInterface_Expecter) Power(entity interface{}) *MaMGCPInterface_Power_Call
- func (_e *MaMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_e *MaMGCPInterface_Expecter) RemoteEntitiesScenarios() *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_e *MaMGCPInterface_Expecter) RemoveUseCase() *MaMGCPInterface_RemoveUseCase_Call
- func (_e *MaMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_e *MaMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMGCPInterface_VoltagePerPhase_Call
- type MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) Return(f float64, err error) *MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Frequency_Call
- type MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMGCPInterface_IsCompatibleEntityType_Call
- type MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- type MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Return(f float64, err error) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_PowerLimitationFactor_Call
- type MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) Return(f float64, err error) *MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Power_Call
- type MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- type MaMGCPInterface_RemoveUseCase_Call
- type MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Return() *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- type MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) Return(...) *MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn(...) *MaMGCPInterface_VoltagePerPhase_Call
- type MaMPCInterface
- func (_mock *MaMPCInterface) AddFeatures() error
- func (_mock *MaMPCInterface) AddUseCase()
- func (_mock *MaMPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *MaMPCInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_m *MaMPCInterface) EXPECT() *MaMPCInterface_Expecter
- func (_mock *MaMPCInterface) EnergyConsumed(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMPCInterface) EnergyProduced(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMPCInterface) Frequency(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *MaMPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *MaMPCInterface) Power(entity api.EntityRemoteInterface) (float64, error)
- func (_mock *MaMPCInterface) PowerPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_mock *MaMPCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *MaMPCInterface) RemoveUseCase()
- func (_mock *MaMPCInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *MaMPCInterface) VoltagePerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
- type MaMPCInterface_AddFeatures_Call
- type MaMPCInterface_AddUseCase_Call
- type MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
- type MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) Return(...) *MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) RunAndReturn(...) *MaMPCInterface_CurrentPerPhase_Call
- type MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) Return(f float64, err error) *MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyConsumed_Call
- type MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) Return(f float64, err error) *MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyProduced_Call
- type MaMPCInterface_Expecter
- func (_e *MaMPCInterface_Expecter) AddFeatures() *MaMPCInterface_AddFeatures_Call
- func (_e *MaMPCInterface_Expecter) AddUseCase() *MaMPCInterface_AddUseCase_Call
- func (_e *MaMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_e *MaMPCInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMPCInterface_CurrentPerPhase_Call
- func (_e *MaMPCInterface_Expecter) EnergyConsumed(entity interface{}) *MaMPCInterface_EnergyConsumed_Call
- func (_e *MaMPCInterface_Expecter) EnergyProduced(entity interface{}) *MaMPCInterface_EnergyProduced_Call
- func (_e *MaMPCInterface_Expecter) Frequency(entity interface{}) *MaMPCInterface_Frequency_Call
- func (_e *MaMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_e *MaMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MaMPCInterface_Expecter) Power(entity interface{}) *MaMPCInterface_Power_Call
- func (_e *MaMPCInterface_Expecter) PowerPerPhase(entity interface{}) *MaMPCInterface_PowerPerPhase_Call
- func (_e *MaMPCInterface_Expecter) RemoteEntitiesScenarios() *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_e *MaMPCInterface_Expecter) RemoveUseCase() *MaMPCInterface_RemoveUseCase_Call
- func (_e *MaMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_e *MaMPCInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMPCInterface_VoltagePerPhase_Call
- type MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) Return(f float64, err error) *MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Frequency_Call
- type MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMPCInterface_IsCompatibleEntityType_Call
- type MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- type MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) Return(...) *MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) RunAndReturn(...) *MaMPCInterface_PowerPerPhase_Call
- type MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) Return(f float64, err error) *MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Power_Call
- type MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
- type MaMPCInterface_RemoveUseCase_Call
- type MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Return() *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
- type MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) Return(...) *MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) RunAndReturn(...) *MaMPCInterface_VoltagePerPhase_Call
- type MuMPCInterface
- func (_mock *MuMPCInterface) AddFeatures() error
- func (_mock *MuMPCInterface) AddUseCase()
- func (_mock *MuMPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
- func (_mock *MuMPCInterface) CurrentPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_m *MuMPCInterface) EXPECT() *MuMPCInterface_Expecter
- func (_mock *MuMPCInterface) EnergyConsumed() (float64, error)
- func (_mock *MuMPCInterface) EnergyProduced() (float64, error)
- func (_mock *MuMPCInterface) Frequency() (float64, error)
- func (_mock *MuMPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
- func (_mock *MuMPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
- func (_mock *MuMPCInterface) Power() (float64, error)
- func (_mock *MuMPCInterface) PowerPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
- func (_mock *MuMPCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
- func (_mock *MuMPCInterface) RemoveUseCase()
- func (_mock *MuMPCInterface) Update(data ...api1.UpdateMeasurementData) error
- func (_mock *MuMPCInterface) UpdateDataCurrentPhaseA(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataCurrentPhaseB(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataCurrentPhaseC(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataEnergyConsumed(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataEnergyProduced(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataFrequency(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataPowerPhaseA(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataPowerPhaseB(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataPowerPhaseC(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataPowerTotal(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseA(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseAToB(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseAToC(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseB(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseBToC(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateDataVoltagePhaseC(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData
- func (_mock *MuMPCInterface) UpdateUseCaseAvailability(available bool)
- func (_mock *MuMPCInterface) VoltagePerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
- type MuMPCInterface_AddFeatures_Call
- type MuMPCInterface_AddUseCase_Call
- type MuMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MuMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MuMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MuMPCInterface_AvailableScenariosForEntity_Call
- type MuMPCInterface_CurrentPerPhase_Call
- func (_c *MuMPCInterface_CurrentPerPhase_Call) Return(...) *MuMPCInterface_CurrentPerPhase_Call
- func (_c *MuMPCInterface_CurrentPerPhase_Call) Run(run func()) *MuMPCInterface_CurrentPerPhase_Call
- func (_c *MuMPCInterface_CurrentPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_CurrentPerPhase_Call
- type MuMPCInterface_EnergyConsumed_Call
- func (_c *MuMPCInterface_EnergyConsumed_Call) Return(f float64, err error) *MuMPCInterface_EnergyConsumed_Call
- func (_c *MuMPCInterface_EnergyConsumed_Call) Run(run func()) *MuMPCInterface_EnergyConsumed_Call
- func (_c *MuMPCInterface_EnergyConsumed_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_EnergyConsumed_Call
- type MuMPCInterface_EnergyProduced_Call
- func (_c *MuMPCInterface_EnergyProduced_Call) Return(f float64, err error) *MuMPCInterface_EnergyProduced_Call
- func (_c *MuMPCInterface_EnergyProduced_Call) Run(run func()) *MuMPCInterface_EnergyProduced_Call
- func (_c *MuMPCInterface_EnergyProduced_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_EnergyProduced_Call
- type MuMPCInterface_Expecter
- func (_e *MuMPCInterface_Expecter) AddFeatures() *MuMPCInterface_AddFeatures_Call
- func (_e *MuMPCInterface_Expecter) AddUseCase() *MuMPCInterface_AddUseCase_Call
- func (_e *MuMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MuMPCInterface_AvailableScenariosForEntity_Call
- func (_e *MuMPCInterface_Expecter) CurrentPerPhase() *MuMPCInterface_CurrentPerPhase_Call
- func (_e *MuMPCInterface_Expecter) EnergyConsumed() *MuMPCInterface_EnergyConsumed_Call
- func (_e *MuMPCInterface_Expecter) EnergyProduced() *MuMPCInterface_EnergyProduced_Call
- func (_e *MuMPCInterface_Expecter) Frequency() *MuMPCInterface_Frequency_Call
- func (_e *MuMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MuMPCInterface_IsCompatibleEntityType_Call
- func (_e *MuMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MuMPCInterface_Expecter) Power() *MuMPCInterface_Power_Call
- func (_e *MuMPCInterface_Expecter) PowerPerPhase() *MuMPCInterface_PowerPerPhase_Call
- func (_e *MuMPCInterface_Expecter) RemoteEntitiesScenarios() *MuMPCInterface_RemoteEntitiesScenarios_Call
- func (_e *MuMPCInterface_Expecter) RemoveUseCase() *MuMPCInterface_RemoveUseCase_Call
- func (_e *MuMPCInterface_Expecter) Update(data ...interface{}) *MuMPCInterface_Update_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataEnergyConsumed(value interface{}, timestamp interface{}, valueState interface{}, ...) *MuMPCInterface_UpdateDataEnergyConsumed_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataEnergyProduced(value interface{}, timestamp interface{}, valueState interface{}, ...) *MuMPCInterface_UpdateDataEnergyProduced_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataFrequency(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataFrequency_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseA_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseB_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseC_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataPowerTotal(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerTotal_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseBToC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
- func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
- func (_e *MuMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MuMPCInterface_UpdateUseCaseAvailability_Call
- func (_e *MuMPCInterface_Expecter) VoltagePerPhase() *MuMPCInterface_VoltagePerPhase_Call
- type MuMPCInterface_Frequency_Call
- func (_c *MuMPCInterface_Frequency_Call) Return(f float64, err error) *MuMPCInterface_Frequency_Call
- func (_c *MuMPCInterface_Frequency_Call) Run(run func()) *MuMPCInterface_Frequency_Call
- func (_c *MuMPCInterface_Frequency_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_Frequency_Call
- type MuMPCInterface_IsCompatibleEntityType_Call
- func (_c *MuMPCInterface_IsCompatibleEntityType_Call) Return(b bool) *MuMPCInterface_IsCompatibleEntityType_Call
- func (_c *MuMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MuMPCInterface_IsCompatibleEntityType_Call
- func (_c *MuMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MuMPCInterface_IsCompatibleEntityType_Call
- type MuMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MuMPCInterface_IsScenarioAvailableAtEntity_Call) Return(b bool) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MuMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MuMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
- type MuMPCInterface_PowerPerPhase_Call
- func (_c *MuMPCInterface_PowerPerPhase_Call) Return(...) *MuMPCInterface_PowerPerPhase_Call
- func (_c *MuMPCInterface_PowerPerPhase_Call) Run(run func()) *MuMPCInterface_PowerPerPhase_Call
- func (_c *MuMPCInterface_PowerPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_PowerPerPhase_Call
- type MuMPCInterface_Power_Call
- type MuMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MuMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MuMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MuMPCInterface_RemoteEntitiesScenarios_Call
- type MuMPCInterface_RemoveUseCase_Call
- type MuMPCInterface_UpdateDataCurrentPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
- type MuMPCInterface_UpdateDataCurrentPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
- type MuMPCInterface_UpdateDataCurrentPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
- type MuMPCInterface_UpdateDataEnergyConsumed_Call
- func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyConsumed_Call
- func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataEnergyConsumed_Call
- func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyConsumed_Call
- type MuMPCInterface_UpdateDataEnergyProduced_Call
- func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyProduced_Call
- func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataEnergyProduced_Call
- func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyProduced_Call
- type MuMPCInterface_UpdateDataFrequency_Call
- func (_c *MuMPCInterface_UpdateDataFrequency_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataFrequency_Call
- func (_c *MuMPCInterface_UpdateDataFrequency_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataFrequency_Call
- func (_c *MuMPCInterface_UpdateDataFrequency_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataFrequency_Call
- type MuMPCInterface_UpdateDataPowerPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataPowerPhaseA_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseA_Call
- type MuMPCInterface_UpdateDataPowerPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataPowerPhaseB_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseB_Call
- type MuMPCInterface_UpdateDataPowerPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataPowerPhaseC_Call
- func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseC_Call
- type MuMPCInterface_UpdateDataPowerTotal_Call
- func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerTotal_Call
- func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataPowerTotal_Call
- func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerTotal_Call
- type MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
- type MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
- type MuMPCInterface_UpdateDataVoltagePhaseA_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
- type MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
- type MuMPCInterface_UpdateDataVoltagePhaseB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
- type MuMPCInterface_UpdateDataVoltagePhaseC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) Run(run func(value float64, timestamp *time.Time, ...)) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
- func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, ...) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
- type MuMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MuMPCInterface_UpdateUseCaseAvailability_Call) Return() *MuMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MuMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MuMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MuMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MuMPCInterface_UpdateUseCaseAvailability_Call
- type MuMPCInterface_Update_Call
- func (_c *MuMPCInterface_Update_Call) Return(err error) *MuMPCInterface_Update_Call
- func (_c *MuMPCInterface_Update_Call) Run(run func(data ...api1.UpdateMeasurementData)) *MuMPCInterface_Update_Call
- func (_c *MuMPCInterface_Update_Call) RunAndReturn(run func(data ...api1.UpdateMeasurementData) error) *MuMPCInterface_Update_Call
- type MuMPCInterface_VoltagePerPhase_Call
- func (_c *MuMPCInterface_VoltagePerPhase_Call) Return(...) *MuMPCInterface_VoltagePerPhase_Call
- func (_c *MuMPCInterface_VoltagePerPhase_Call) Run(run func()) *MuMPCInterface_VoltagePerPhase_Call
- func (_c *MuMPCInterface_VoltagePerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_VoltagePerPhase_Call
- type UpdateConfigurationData
- type UpdateConfigurationData_ConfigurationData_Call
- func (_c *UpdateConfigurationData_ConfigurationData_Call) Return(deviceConfigurationKeyValueDataType model.DeviceConfigurationKeyValueDataType) *UpdateConfigurationData_ConfigurationData_Call
- func (_c *UpdateConfigurationData_ConfigurationData_Call) Run(run func()) *UpdateConfigurationData_ConfigurationData_Call
- func (_c *UpdateConfigurationData_ConfigurationData_Call) RunAndReturn(run func() model.DeviceConfigurationKeyValueDataType) *UpdateConfigurationData_ConfigurationData_Call
- type UpdateConfigurationData_Expecter
- func (_e *UpdateConfigurationData_Expecter) ConfigurationData() *UpdateConfigurationData_ConfigurationData_Call
- func (_e *UpdateConfigurationData_Expecter) NotSupportedError() *UpdateConfigurationData_NotSupportedError_Call
- func (_e *UpdateConfigurationData_Expecter) Supported() *UpdateConfigurationData_Supported_Call
- type UpdateConfigurationData_NotSupportedError_Call
- func (_c *UpdateConfigurationData_NotSupportedError_Call) Return(err error) *UpdateConfigurationData_NotSupportedError_Call
- func (_c *UpdateConfigurationData_NotSupportedError_Call) Run(run func()) *UpdateConfigurationData_NotSupportedError_Call
- func (_c *UpdateConfigurationData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateConfigurationData_NotSupportedError_Call
- type UpdateConfigurationData_Supported_Call
- func (_c *UpdateConfigurationData_Supported_Call) Return(b bool) *UpdateConfigurationData_Supported_Call
- func (_c *UpdateConfigurationData_Supported_Call) Run(run func()) *UpdateConfigurationData_Supported_Call
- func (_c *UpdateConfigurationData_Supported_Call) RunAndReturn(run func() bool) *UpdateConfigurationData_Supported_Call
- type UpdateData
- type UpdateData_Expecter
- type UpdateData_NotSupportedError_Call
- func (_c *UpdateData_NotSupportedError_Call) Return(err error) *UpdateData_NotSupportedError_Call
- func (_c *UpdateData_NotSupportedError_Call) Run(run func()) *UpdateData_NotSupportedError_Call
- func (_c *UpdateData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateData_NotSupportedError_Call
- type UpdateData_Supported_Call
- type UpdateMeasurementData
- type UpdateMeasurementData_Expecter
- func (_e *UpdateMeasurementData_Expecter) MeasurementData() *UpdateMeasurementData_MeasurementData_Call
- func (_e *UpdateMeasurementData_Expecter) NotSupportedError() *UpdateMeasurementData_NotSupportedError_Call
- func (_e *UpdateMeasurementData_Expecter) Supported() *UpdateMeasurementData_Supported_Call
- type UpdateMeasurementData_MeasurementData_Call
- func (_c *UpdateMeasurementData_MeasurementData_Call) Return(measurementDataForID api.MeasurementDataForID) *UpdateMeasurementData_MeasurementData_Call
- func (_c *UpdateMeasurementData_MeasurementData_Call) Run(run func()) *UpdateMeasurementData_MeasurementData_Call
- func (_c *UpdateMeasurementData_MeasurementData_Call) RunAndReturn(run func() api.MeasurementDataForID) *UpdateMeasurementData_MeasurementData_Call
- type UpdateMeasurementData_NotSupportedError_Call
- func (_c *UpdateMeasurementData_NotSupportedError_Call) Return(err error) *UpdateMeasurementData_NotSupportedError_Call
- func (_c *UpdateMeasurementData_NotSupportedError_Call) Run(run func()) *UpdateMeasurementData_NotSupportedError_Call
- func (_c *UpdateMeasurementData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateMeasurementData_NotSupportedError_Call
- type UpdateMeasurementData_Supported_Call
- func (_c *UpdateMeasurementData_Supported_Call) Return(b bool) *UpdateMeasurementData_Supported_Call
- func (_c *UpdateMeasurementData_Supported_Call) Run(run func()) *UpdateMeasurementData_Supported_Call
- func (_c *UpdateMeasurementData_Supported_Call) RunAndReturn(run func() bool) *UpdateMeasurementData_Supported_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CemCEVCInterface ¶
CemCEVCInterface is an autogenerated mock type for the CemCEVCInterface type
func NewCemCEVCInterface ¶
func NewCemCEVCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemCEVCInterface
NewCemCEVCInterface creates a new instance of CemCEVCInterface. 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 (*CemCEVCInterface) AddFeatures ¶
func (_mock *CemCEVCInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) AddUseCase ¶
func (_mock *CemCEVCInterface) AddUseCase()
AddUseCase provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) AvailableScenariosForEntity ¶
func (_mock *CemCEVCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) ChargePlan ¶
func (_mock *CemCEVCInterface) ChargePlan(entity api.EntityRemoteInterface) (api0.ChargePlan, error)
ChargePlan provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) ChargePlanConstraints ¶
func (_mock *CemCEVCInterface) ChargePlanConstraints(entity api.EntityRemoteInterface) ([]api0.DurationSlotValue, error)
ChargePlanConstraints provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) ChargeStrategy ¶
func (_mock *CemCEVCInterface) ChargeStrategy(remoteEntity api.EntityRemoteInterface) api0.EVChargeStrategyType
ChargeStrategy provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) EXPECT ¶
func (_m *CemCEVCInterface) EXPECT() *CemCEVCInterface_Expecter
func (*CemCEVCInterface) EnergyDemand ¶
func (_mock *CemCEVCInterface) EnergyDemand(remoteEntity api.EntityRemoteInterface) (api0.Demand, error)
EnergyDemand provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) IncentiveConstraints ¶
func (_mock *CemCEVCInterface) IncentiveConstraints(entity api.EntityRemoteInterface) (api0.IncentiveSlotConstraints, error)
IncentiveConstraints provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) IsCompatibleEntityType ¶
func (_mock *CemCEVCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemCEVCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) RemoteEntitiesScenarios ¶
func (_mock *CemCEVCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) RemoveUseCase ¶
func (_mock *CemCEVCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) SetOperatingState ¶ added in v0.8.0
func (_mock *CemCEVCInterface) SetOperatingState(failureState bool) error
SetOperatingState provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *CemCEVCInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *CemCEVCInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) TimeSlotConstraints ¶
func (_mock *CemCEVCInterface) TimeSlotConstraints(entity api.EntityRemoteInterface) (api0.TimeSlotConstraints, error)
TimeSlotConstraints provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) UpdateUseCaseAvailability ¶
func (_mock *CemCEVCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) WriteIncentiveTableDescriptions ¶
func (_mock *CemCEVCInterface) WriteIncentiveTableDescriptions(entity api.EntityRemoteInterface, data []api0.IncentiveTariffDescription) error
WriteIncentiveTableDescriptions provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) WriteIncentives ¶
func (_mock *CemCEVCInterface) WriteIncentives(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error
WriteIncentives provides a mock function for the type CemCEVCInterface
func (*CemCEVCInterface) WritePowerLimits ¶
func (_mock *CemCEVCInterface) WritePowerLimits(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error
WritePowerLimits provides a mock function for the type CemCEVCInterface
type CemCEVCInterface_AddFeatures_Call ¶
CemCEVCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemCEVCInterface_AddFeatures_Call) Return ¶
func (_c *CemCEVCInterface_AddFeatures_Call) Return(err error) *CemCEVCInterface_AddFeatures_Call
func (*CemCEVCInterface_AddFeatures_Call) Run ¶
func (_c *CemCEVCInterface_AddFeatures_Call) Run(run func()) *CemCEVCInterface_AddFeatures_Call
func (*CemCEVCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemCEVCInterface_AddFeatures_Call
type CemCEVCInterface_AddUseCase_Call ¶
CemCEVCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemCEVCInterface_AddUseCase_Call) Return ¶
func (_c *CemCEVCInterface_AddUseCase_Call) Return() *CemCEVCInterface_AddUseCase_Call
func (*CemCEVCInterface_AddUseCase_Call) Run ¶
func (_c *CemCEVCInterface_AddUseCase_Call) Run(run func()) *CemCEVCInterface_AddUseCase_Call
func (*CemCEVCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_AddUseCase_Call
type CemCEVCInterface_AvailableScenariosForEntity_Call ¶
CemCEVCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_AvailableScenariosForEntity_Call
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
type CemCEVCInterface_ChargePlanConstraints_Call ¶
CemCEVCInterface_ChargePlanConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargePlanConstraints'
func (*CemCEVCInterface_ChargePlanConstraints_Call) Return ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Return(durationSlotValues []api0.DurationSlotValue, err error) *CemCEVCInterface_ChargePlanConstraints_Call
func (*CemCEVCInterface_ChargePlanConstraints_Call) Run ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_ChargePlanConstraints_Call
func (*CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.DurationSlotValue, error)) *CemCEVCInterface_ChargePlanConstraints_Call
type CemCEVCInterface_ChargePlan_Call ¶
CemCEVCInterface_ChargePlan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargePlan'
func (*CemCEVCInterface_ChargePlan_Call) Return ¶
func (_c *CemCEVCInterface_ChargePlan_Call) Return(chargePlan api0.ChargePlan, err error) *CemCEVCInterface_ChargePlan_Call
func (*CemCEVCInterface_ChargePlan_Call) Run ¶
func (_c *CemCEVCInterface_ChargePlan_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_ChargePlan_Call
func (*CemCEVCInterface_ChargePlan_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargePlan_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ChargePlan, error)) *CemCEVCInterface_ChargePlan_Call
type CemCEVCInterface_ChargeStrategy_Call ¶
CemCEVCInterface_ChargeStrategy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargeStrategy'
func (*CemCEVCInterface_ChargeStrategy_Call) Return ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) Return(eVChargeStrategyType api0.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
func (*CemCEVCInterface_ChargeStrategy_Call) Run ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) Run(run func(remoteEntity api.EntityRemoteInterface)) *CemCEVCInterface_ChargeStrategy_Call
func (*CemCEVCInterface_ChargeStrategy_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) RunAndReturn(run func(remoteEntity api.EntityRemoteInterface) api0.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
type CemCEVCInterface_EnergyDemand_Call ¶
CemCEVCInterface_EnergyDemand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyDemand'
func (*CemCEVCInterface_EnergyDemand_Call) Return ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) Return(demand api0.Demand, err error) *CemCEVCInterface_EnergyDemand_Call
func (*CemCEVCInterface_EnergyDemand_Call) Run ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) Run(run func(remoteEntity api.EntityRemoteInterface)) *CemCEVCInterface_EnergyDemand_Call
func (*CemCEVCInterface_EnergyDemand_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) RunAndReturn(run func(remoteEntity api.EntityRemoteInterface) (api0.Demand, error)) *CemCEVCInterface_EnergyDemand_Call
type CemCEVCInterface_Expecter ¶
type CemCEVCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemCEVCInterface_Expecter) AddFeatures ¶
func (_e *CemCEVCInterface_Expecter) AddFeatures() *CemCEVCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) AddUseCase ¶
func (_e *CemCEVCInterface_Expecter) AddUseCase() *CemCEVCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemCEVCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemCEVCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargePlan ¶
func (_e *CemCEVCInterface_Expecter) ChargePlan(entity interface{}) *CemCEVCInterface_ChargePlan_Call
ChargePlan is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargePlanConstraints ¶
func (_e *CemCEVCInterface_Expecter) ChargePlanConstraints(entity interface{}) *CemCEVCInterface_ChargePlanConstraints_Call
ChargePlanConstraints is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargeStrategy ¶
func (_e *CemCEVCInterface_Expecter) ChargeStrategy(remoteEntity interface{}) *CemCEVCInterface_ChargeStrategy_Call
ChargeStrategy is a helper method to define mock.On call
- remoteEntity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) EnergyDemand ¶
func (_e *CemCEVCInterface_Expecter) EnergyDemand(remoteEntity interface{}) *CemCEVCInterface_EnergyDemand_Call
EnergyDemand is a helper method to define mock.On call
- remoteEntity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IncentiveConstraints ¶
func (_e *CemCEVCInterface_Expecter) IncentiveConstraints(entity interface{}) *CemCEVCInterface_IncentiveConstraints_Call
IncentiveConstraints is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemCEVCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemCEVCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemCEVCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemCEVCInterface_Expecter) RemoteEntitiesScenarios() *CemCEVCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) RemoveUseCase ¶
func (_e *CemCEVCInterface_Expecter) RemoveUseCase() *CemCEVCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) SetOperatingState ¶ added in v0.8.0
func (_e *CemCEVCInterface_Expecter) SetOperatingState(failureState interface{}) *CemCEVCInterface_SetOperatingState_Call
SetOperatingState is a helper method to define mock.On call
- failureState bool
func (*CemCEVCInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *CemCEVCInterface_Expecter) StartHeartbeat() *CemCEVCInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *CemCEVCInterface_Expecter) StopHeartbeat() *CemCEVCInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) TimeSlotConstraints ¶
func (_e *CemCEVCInterface_Expecter) TimeSlotConstraints(entity interface{}) *CemCEVCInterface_TimeSlotConstraints_Call
TimeSlotConstraints is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemCEVCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemCEVCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions ¶
func (_e *CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
WriteIncentiveTableDescriptions is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- data []api0.IncentiveTariffDescription
func (*CemCEVCInterface_Expecter) WriteIncentives ¶
func (_e *CemCEVCInterface_Expecter) WriteIncentives(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentives_Call
WriteIncentives is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- data []api0.DurationSlotValue
func (*CemCEVCInterface_Expecter) WritePowerLimits ¶
func (_e *CemCEVCInterface_Expecter) WritePowerLimits(entity interface{}, data interface{}) *CemCEVCInterface_WritePowerLimits_Call
WritePowerLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- data []api0.DurationSlotValue
type CemCEVCInterface_IncentiveConstraints_Call ¶
CemCEVCInterface_IncentiveConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncentiveConstraints'
func (*CemCEVCInterface_IncentiveConstraints_Call) Return ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) Return(incentiveSlotConstraints api0.IncentiveSlotConstraints, err error) *CemCEVCInterface_IncentiveConstraints_Call
func (*CemCEVCInterface_IncentiveConstraints_Call) Run ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_IncentiveConstraints_Call
func (*CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.IncentiveSlotConstraints, error)) *CemCEVCInterface_IncentiveConstraints_Call
type CemCEVCInterface_IsCompatibleEntityType_Call ¶
CemCEVCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemCEVCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemCEVCInterface_IsCompatibleEntityType_Call
func (*CemCEVCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_IsCompatibleEntityType_Call
func (*CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemCEVCInterface_IsCompatibleEntityType_Call
type CemCEVCInterface_IsScenarioAvailableAtEntity_Call ¶
CemCEVCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
type CemCEVCInterface_RemoteEntitiesScenarios_Call ¶
CemCEVCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemCEVCInterface_RemoteEntitiesScenarios_Call
func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
type CemCEVCInterface_RemoveUseCase_Call ¶
CemCEVCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemCEVCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) Return() *CemCEVCInterface_RemoveUseCase_Call
func (*CemCEVCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) Run(run func()) *CemCEVCInterface_RemoveUseCase_Call
func (*CemCEVCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_RemoveUseCase_Call
type CemCEVCInterface_SetOperatingState_Call ¶ added in v0.8.0
CemCEVCInterface_SetOperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOperatingState'
func (*CemCEVCInterface_SetOperatingState_Call) Return ¶ added in v0.8.0
func (_c *CemCEVCInterface_SetOperatingState_Call) Return(err error) *CemCEVCInterface_SetOperatingState_Call
func (*CemCEVCInterface_SetOperatingState_Call) Run ¶ added in v0.8.0
func (_c *CemCEVCInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemCEVCInterface_SetOperatingState_Call
func (*CemCEVCInterface_SetOperatingState_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemCEVCInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemCEVCInterface_SetOperatingState_Call
type CemCEVCInterface_StartHeartbeat_Call ¶ added in v0.8.0
CemCEVCInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*CemCEVCInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemCEVCInterface_StartHeartbeat_Call) Return() *CemCEVCInterface_StartHeartbeat_Call
func (*CemCEVCInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemCEVCInterface_StartHeartbeat_Call) Run(run func()) *CemCEVCInterface_StartHeartbeat_Call
func (*CemCEVCInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemCEVCInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemCEVCInterface_StartHeartbeat_Call
type CemCEVCInterface_StopHeartbeat_Call ¶ added in v0.8.0
CemCEVCInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*CemCEVCInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemCEVCInterface_StopHeartbeat_Call) Return() *CemCEVCInterface_StopHeartbeat_Call
func (*CemCEVCInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemCEVCInterface_StopHeartbeat_Call) Run(run func()) *CemCEVCInterface_StopHeartbeat_Call
func (*CemCEVCInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemCEVCInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemCEVCInterface_StopHeartbeat_Call
type CemCEVCInterface_TimeSlotConstraints_Call ¶
CemCEVCInterface_TimeSlotConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeSlotConstraints'
func (*CemCEVCInterface_TimeSlotConstraints_Call) Return ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Return(timeSlotConstraints api0.TimeSlotConstraints, err error) *CemCEVCInterface_TimeSlotConstraints_Call
func (*CemCEVCInterface_TimeSlotConstraints_Call) Run ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Run(run func(entity api.EntityRemoteInterface)) *CemCEVCInterface_TimeSlotConstraints_Call
func (*CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.TimeSlotConstraints, error)) *CemCEVCInterface_TimeSlotConstraints_Call
type CemCEVCInterface_UpdateUseCaseAvailability_Call ¶
CemCEVCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
type CemCEVCInterface_WriteIncentiveTableDescriptions_Call ¶
CemCEVCInterface_WriteIncentiveTableDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteIncentiveTableDescriptions'
func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run ¶
func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run(run func(entity api.EntityRemoteInterface, data []api0.IncentiveTariffDescription)) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, data []api0.IncentiveTariffDescription) error) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
type CemCEVCInterface_WriteIncentives_Call ¶
CemCEVCInterface_WriteIncentives_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteIncentives'
func (*CemCEVCInterface_WriteIncentives_Call) Return ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) Return(err error) *CemCEVCInterface_WriteIncentives_Call
func (*CemCEVCInterface_WriteIncentives_Call) Run ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) Run(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue)) *CemCEVCInterface_WriteIncentives_Call
func (*CemCEVCInterface_WriteIncentives_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error) *CemCEVCInterface_WriteIncentives_Call
type CemCEVCInterface_WritePowerLimits_Call ¶
CemCEVCInterface_WritePowerLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WritePowerLimits'
func (*CemCEVCInterface_WritePowerLimits_Call) Return ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) Return(err error) *CemCEVCInterface_WritePowerLimits_Call
func (*CemCEVCInterface_WritePowerLimits_Call) Run ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) Run(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue)) *CemCEVCInterface_WritePowerLimits_Call
func (*CemCEVCInterface_WritePowerLimits_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, data []api0.DurationSlotValue) error) *CemCEVCInterface_WritePowerLimits_Call
type CemEVCCInterface ¶
CemEVCCInterface is an autogenerated mock type for the CemEVCCInterface type
func NewCemEVCCInterface ¶
func NewCemEVCCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemEVCCInterface
NewCemEVCCInterface creates a new instance of CemEVCCInterface. 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 (*CemEVCCInterface) AddFeatures ¶
func (_mock *CemEVCCInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) AddUseCase ¶
func (_mock *CemEVCCInterface) AddUseCase()
AddUseCase provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) AsymmetricChargingSupport ¶
func (_mock *CemEVCCInterface) AsymmetricChargingSupport(entity api.EntityRemoteInterface) (bool, error)
AsymmetricChargingSupport provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) AvailableScenariosForEntity ¶
func (_mock *CemEVCCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) ChargeState ¶
func (_mock *CemEVCCInterface) ChargeState(entity api.EntityRemoteInterface) (api0.EVChargeStateType, error)
ChargeState provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) ChargingPowerLimits ¶
func (_mock *CemEVCCInterface) ChargingPowerLimits(entity api.EntityRemoteInterface) (float64, float64, float64, error)
ChargingPowerLimits provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) CommunicationStandard ¶
func (_mock *CemEVCCInterface) CommunicationStandard(entity api.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)
CommunicationStandard provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) EVConnected ¶
func (_mock *CemEVCCInterface) EVConnected(entity api.EntityRemoteInterface) bool
EVConnected provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) EXPECT ¶
func (_m *CemEVCCInterface) EXPECT() *CemEVCCInterface_Expecter
func (*CemEVCCInterface) Identifications ¶
func (_mock *CemEVCCInterface) Identifications(entity api.EntityRemoteInterface) ([]api0.IdentificationItem, error)
Identifications provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) IsCompatibleEntityType ¶
func (_mock *CemEVCCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) IsInSleepMode ¶
func (_mock *CemEVCCInterface) IsInSleepMode(entity api.EntityRemoteInterface) (bool, error)
IsInSleepMode provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemEVCCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) ManufacturerData ¶
func (_mock *CemEVCCInterface) ManufacturerData(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)
ManufacturerData provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) RemoteEntitiesScenarios ¶
func (_mock *CemEVCCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) RemoveUseCase ¶
func (_mock *CemEVCCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemEVCCInterface
func (*CemEVCCInterface) UpdateUseCaseAvailability ¶
func (_mock *CemEVCCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemEVCCInterface
type CemEVCCInterface_AddFeatures_Call ¶
CemEVCCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVCCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVCCInterface_AddFeatures_Call) Return(err error) *CemEVCCInterface_AddFeatures_Call
func (*CemEVCCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVCCInterface_AddFeatures_Call) Run(run func()) *CemEVCCInterface_AddFeatures_Call
func (*CemEVCCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVCCInterface_AddFeatures_Call
type CemEVCCInterface_AddUseCase_Call ¶
CemEVCCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVCCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVCCInterface_AddUseCase_Call) Return() *CemEVCCInterface_AddUseCase_Call
func (*CemEVCCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVCCInterface_AddUseCase_Call) Run(run func()) *CemEVCCInterface_AddUseCase_Call
func (*CemEVCCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_AddUseCase_Call
type CemEVCCInterface_AsymmetricChargingSupport_Call ¶
CemEVCCInterface_AsymmetricChargingSupport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsymmetricChargingSupport'
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) Return ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Return(b bool, err error) *CemEVCCInterface_AsymmetricChargingSupport_Call
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) Run ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_AsymmetricChargingSupport_Call
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_AsymmetricChargingSupport_Call
type CemEVCCInterface_AvailableScenariosForEntity_Call ¶
CemEVCCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_AvailableScenariosForEntity_Call
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
type CemEVCCInterface_ChargeState_Call ¶
CemEVCCInterface_ChargeState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargeState'
func (*CemEVCCInterface_ChargeState_Call) Return ¶
func (_c *CemEVCCInterface_ChargeState_Call) Return(eVChargeStateType api0.EVChargeStateType, err error) *CemEVCCInterface_ChargeState_Call
func (*CemEVCCInterface_ChargeState_Call) Run ¶
func (_c *CemEVCCInterface_ChargeState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ChargeState_Call
func (*CemEVCCInterface_ChargeState_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ChargeState_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.EVChargeStateType, error)) *CemEVCCInterface_ChargeState_Call
type CemEVCCInterface_ChargingPowerLimits_Call ¶
CemEVCCInterface_ChargingPowerLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargingPowerLimits'
func (*CemEVCCInterface_ChargingPowerLimits_Call) Return ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Return(f float64, f1 float64, f2 float64, err error) *CemEVCCInterface_ChargingPowerLimits_Call
func (*CemEVCCInterface_ChargingPowerLimits_Call) Run ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ChargingPowerLimits_Call
func (*CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, float64, float64, error)) *CemEVCCInterface_ChargingPowerLimits_Call
type CemEVCCInterface_CommunicationStandard_Call ¶
CemEVCCInterface_CommunicationStandard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommunicationStandard'
func (*CemEVCCInterface_CommunicationStandard_Call) Return ¶
func (_c *CemEVCCInterface_CommunicationStandard_Call) Return(deviceConfigurationKeyValueStringType model.DeviceConfigurationKeyValueStringType, err error) *CemEVCCInterface_CommunicationStandard_Call
func (*CemEVCCInterface_CommunicationStandard_Call) Run ¶
func (_c *CemEVCCInterface_CommunicationStandard_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_CommunicationStandard_Call
func (*CemEVCCInterface_CommunicationStandard_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_CommunicationStandard_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)) *CemEVCCInterface_CommunicationStandard_Call
type CemEVCCInterface_EVConnected_Call ¶
CemEVCCInterface_EVConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVConnected'
func (*CemEVCCInterface_EVConnected_Call) Return ¶
func (_c *CemEVCCInterface_EVConnected_Call) Return(b bool) *CemEVCCInterface_EVConnected_Call
func (*CemEVCCInterface_EVConnected_Call) Run ¶
func (_c *CemEVCCInterface_EVConnected_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_EVConnected_Call
func (*CemEVCCInterface_EVConnected_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_EVConnected_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCCInterface_EVConnected_Call
type CemEVCCInterface_Expecter ¶
type CemEVCCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVCCInterface_Expecter) AddFeatures ¶
func (_e *CemEVCCInterface_Expecter) AddFeatures() *CemEVCCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) AddUseCase ¶
func (_e *CemEVCCInterface_Expecter) AddUseCase() *CemEVCCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) AsymmetricChargingSupport ¶
func (_e *CemEVCCInterface_Expecter) AsymmetricChargingSupport(entity interface{}) *CemEVCCInterface_AsymmetricChargingSupport_Call
AsymmetricChargingSupport is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVCCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) ChargeState ¶
func (_e *CemEVCCInterface_Expecter) ChargeState(entity interface{}) *CemEVCCInterface_ChargeState_Call
ChargeState is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) ChargingPowerLimits ¶
func (_e *CemEVCCInterface_Expecter) ChargingPowerLimits(entity interface{}) *CemEVCCInterface_ChargingPowerLimits_Call
ChargingPowerLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) CommunicationStandard ¶
func (_e *CemEVCCInterface_Expecter) CommunicationStandard(entity interface{}) *CemEVCCInterface_CommunicationStandard_Call
CommunicationStandard is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) EVConnected ¶
func (_e *CemEVCCInterface_Expecter) EVConnected(entity interface{}) *CemEVCCInterface_EVConnected_Call
EVConnected is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) Identifications ¶
func (_e *CemEVCCInterface_Expecter) Identifications(entity interface{}) *CemEVCCInterface_Identifications_Call
Identifications is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVCCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsInSleepMode ¶
func (_e *CemEVCCInterface_Expecter) IsInSleepMode(entity interface{}) *CemEVCCInterface_IsInSleepMode_Call
IsInSleepMode is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemEVCCInterface_Expecter) ManufacturerData ¶
func (_e *CemEVCCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVCCInterface_ManufacturerData_Call
ManufacturerData is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVCCInterface_Expecter) RemoteEntitiesScenarios() *CemEVCCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVCCInterface_Expecter) RemoveUseCase() *CemEVCCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVCCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVCCInterface_Identifications_Call ¶
CemEVCCInterface_Identifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Identifications'
func (*CemEVCCInterface_Identifications_Call) Return ¶
func (_c *CemEVCCInterface_Identifications_Call) Return(identificationItems []api0.IdentificationItem, err error) *CemEVCCInterface_Identifications_Call
func (*CemEVCCInterface_Identifications_Call) Run ¶
func (_c *CemEVCCInterface_Identifications_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_Identifications_Call
func (*CemEVCCInterface_Identifications_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_Identifications_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.IdentificationItem, error)) *CemEVCCInterface_Identifications_Call
type CemEVCCInterface_IsCompatibleEntityType_Call ¶
CemEVCCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVCCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVCCInterface_IsCompatibleEntityType_Call
func (*CemEVCCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_IsCompatibleEntityType_Call
func (*CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCCInterface_IsCompatibleEntityType_Call
type CemEVCCInterface_IsInSleepMode_Call ¶
CemEVCCInterface_IsInSleepMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInSleepMode'
func (*CemEVCCInterface_IsInSleepMode_Call) Return ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) Return(b bool, err error) *CemEVCCInterface_IsInSleepMode_Call
func (*CemEVCCInterface_IsInSleepMode_Call) Run ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_IsInSleepMode_Call
func (*CemEVCCInterface_IsInSleepMode_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_IsInSleepMode_Call
type CemEVCCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVCCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
type CemEVCCInterface_ManufacturerData_Call ¶
CemEVCCInterface_ManufacturerData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManufacturerData'
func (*CemEVCCInterface_ManufacturerData_Call) Return ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) Return(manufacturerData api0.ManufacturerData, err error) *CemEVCCInterface_ManufacturerData_Call
func (*CemEVCCInterface_ManufacturerData_Call) Run ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCCInterface_ManufacturerData_Call
func (*CemEVCCInterface_ManufacturerData_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)) *CemEVCCInterface_ManufacturerData_Call
type CemEVCCInterface_RemoteEntitiesScenarios_Call ¶
CemEVCCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCCInterface_RemoteEntitiesScenarios_Call
func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
type CemEVCCInterface_RemoveUseCase_Call ¶
CemEVCCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVCCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) Return() *CemEVCCInterface_RemoveUseCase_Call
func (*CemEVCCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) Run(run func()) *CemEVCCInterface_RemoveUseCase_Call
func (*CemEVCCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_RemoveUseCase_Call
type CemEVCCInterface_UpdateUseCaseAvailability_Call ¶
CemEVCCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
type CemEVCEMInterface ¶
CemEVCEMInterface is an autogenerated mock type for the CemEVCEMInterface type
func NewCemEVCEMInterface ¶
func NewCemEVCEMInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemEVCEMInterface
NewCemEVCEMInterface creates a new instance of CemEVCEMInterface. 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 (*CemEVCEMInterface) AddFeatures ¶
func (_mock *CemEVCEMInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) AddUseCase ¶
func (_mock *CemEVCEMInterface) AddUseCase()
AddUseCase provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) AvailableScenariosForEntity ¶
func (_mock *CemEVCEMInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) CurrentPerPhase ¶
func (_mock *CemEVCEMInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentPerPhase provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) EXPECT ¶
func (_m *CemEVCEMInterface) EXPECT() *CemEVCEMInterface_Expecter
func (*CemEVCEMInterface) EnergyCharged ¶
func (_mock *CemEVCEMInterface) EnergyCharged(entity api.EntityRemoteInterface) (float64, error)
EnergyCharged provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) IsCompatibleEntityType ¶
func (_mock *CemEVCEMInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemEVCEMInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) PhasesConnected ¶
func (_mock *CemEVCEMInterface) PhasesConnected(entity api.EntityRemoteInterface) (uint, error)
PhasesConnected provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) PowerPerPhase ¶
func (_mock *CemEVCEMInterface) PowerPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
PowerPerPhase provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) RemoteEntitiesScenarios ¶
func (_mock *CemEVCEMInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) RemoveUseCase ¶
func (_mock *CemEVCEMInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemEVCEMInterface
func (*CemEVCEMInterface) UpdateUseCaseAvailability ¶
func (_mock *CemEVCEMInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemEVCEMInterface
type CemEVCEMInterface_AddFeatures_Call ¶
CemEVCEMInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVCEMInterface_AddFeatures_Call) Return ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) Return(err error) *CemEVCEMInterface_AddFeatures_Call
func (*CemEVCEMInterface_AddFeatures_Call) Run ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) Run(run func()) *CemEVCEMInterface_AddFeatures_Call
func (*CemEVCEMInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVCEMInterface_AddFeatures_Call
type CemEVCEMInterface_AddUseCase_Call ¶
CemEVCEMInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVCEMInterface_AddUseCase_Call) Return ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) Return() *CemEVCEMInterface_AddUseCase_Call
func (*CemEVCEMInterface_AddUseCase_Call) Run ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) Run(run func()) *CemEVCEMInterface_AddUseCase_Call
func (*CemEVCEMInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_AddUseCase_Call
type CemEVCEMInterface_AvailableScenariosForEntity_Call ¶
CemEVCEMInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_AvailableScenariosForEntity_Call
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
type CemEVCEMInterface_CurrentPerPhase_Call ¶
CemEVCEMInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*CemEVCEMInterface_CurrentPerPhase_Call) Return ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *CemEVCEMInterface_CurrentPerPhase_Call
func (*CemEVCEMInterface_CurrentPerPhase_Call) Run ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_CurrentPerPhase_Call
func (*CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *CemEVCEMInterface_CurrentPerPhase_Call
type CemEVCEMInterface_EnergyCharged_Call ¶
CemEVCEMInterface_EnergyCharged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyCharged'
func (*CemEVCEMInterface_EnergyCharged_Call) Return ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) Return(f float64, err error) *CemEVCEMInterface_EnergyCharged_Call
func (*CemEVCEMInterface_EnergyCharged_Call) Run ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_EnergyCharged_Call
func (*CemEVCEMInterface_EnergyCharged_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemEVCEMInterface_EnergyCharged_Call
type CemEVCEMInterface_Expecter ¶
type CemEVCEMInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVCEMInterface_Expecter) AddFeatures ¶
func (_e *CemEVCEMInterface_Expecter) AddFeatures() *CemEVCEMInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) AddUseCase ¶
func (_e *CemEVCEMInterface_Expecter) AddUseCase() *CemEVCEMInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVCEMInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCEMInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) CurrentPerPhase ¶
func (_e *CemEVCEMInterface_Expecter) CurrentPerPhase(entity interface{}) *CemEVCEMInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) EnergyCharged ¶
func (_e *CemEVCEMInterface_Expecter) EnergyCharged(entity interface{}) *CemEVCEMInterface_EnergyCharged_Call
EnergyCharged is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVCEMInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCEMInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemEVCEMInterface_Expecter) PhasesConnected ¶
func (_e *CemEVCEMInterface_Expecter) PhasesConnected(entity interface{}) *CemEVCEMInterface_PhasesConnected_Call
PhasesConnected is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) PowerPerPhase ¶
func (_e *CemEVCEMInterface_Expecter) PowerPerPhase(entity interface{}) *CemEVCEMInterface_PowerPerPhase_Call
PowerPerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVCEMInterface_Expecter) RemoteEntitiesScenarios() *CemEVCEMInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVCEMInterface_Expecter) RemoveUseCase() *CemEVCEMInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVCEMInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVCEMInterface_IsCompatibleEntityType_Call ¶
CemEVCEMInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_IsCompatibleEntityType_Call
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVCEMInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
type CemEVCEMInterface_PhasesConnected_Call ¶
CemEVCEMInterface_PhasesConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PhasesConnected'
func (*CemEVCEMInterface_PhasesConnected_Call) Return ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) Return(v uint, err error) *CemEVCEMInterface_PhasesConnected_Call
func (*CemEVCEMInterface_PhasesConnected_Call) Run ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_PhasesConnected_Call
func (*CemEVCEMInterface_PhasesConnected_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (uint, error)) *CemEVCEMInterface_PhasesConnected_Call
type CemEVCEMInterface_PowerPerPhase_Call ¶
CemEVCEMInterface_PowerPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerPerPhase'
func (*CemEVCEMInterface_PowerPerPhase_Call) Return ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *CemEVCEMInterface_PowerPerPhase_Call
func (*CemEVCEMInterface_PowerPerPhase_Call) Run ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVCEMInterface_PowerPerPhase_Call
func (*CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *CemEVCEMInterface_PowerPerPhase_Call
type CemEVCEMInterface_RemoteEntitiesScenarios_Call ¶
CemEVCEMInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
type CemEVCEMInterface_RemoveUseCase_Call ¶
CemEVCEMInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVCEMInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) Return() *CemEVCEMInterface_RemoveUseCase_Call
func (*CemEVCEMInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) Run(run func()) *CemEVCEMInterface_RemoveUseCase_Call
func (*CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_RemoveUseCase_Call
type CemEVCEMInterface_UpdateUseCaseAvailability_Call ¶
CemEVCEMInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
type CemEVSECCInterface ¶
CemEVSECCInterface is an autogenerated mock type for the CemEVSECCInterface type
func NewCemEVSECCInterface ¶
func NewCemEVSECCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemEVSECCInterface
NewCemEVSECCInterface creates a new instance of CemEVSECCInterface. 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 (*CemEVSECCInterface) AddFeatures ¶
func (_mock *CemEVSECCInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) AddUseCase ¶
func (_mock *CemEVSECCInterface) AddUseCase()
AddUseCase provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) AvailableScenariosForEntity ¶
func (_mock *CemEVSECCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) EXPECT ¶
func (_m *CemEVSECCInterface) EXPECT() *CemEVSECCInterface_Expecter
func (*CemEVSECCInterface) IsCompatibleEntityType ¶
func (_mock *CemEVSECCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemEVSECCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) ManufacturerData ¶
func (_mock *CemEVSECCInterface) ManufacturerData(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)
ManufacturerData provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) OperatingState ¶
func (_mock *CemEVSECCInterface) OperatingState(entity api.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)
OperatingState provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) RemoteEntitiesScenarios ¶
func (_mock *CemEVSECCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) RemoveUseCase ¶
func (_mock *CemEVSECCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemEVSECCInterface
func (*CemEVSECCInterface) UpdateUseCaseAvailability ¶
func (_mock *CemEVSECCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemEVSECCInterface
type CemEVSECCInterface_AddFeatures_Call ¶
CemEVSECCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVSECCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) Return(err error) *CemEVSECCInterface_AddFeatures_Call
func (*CemEVSECCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) Run(run func()) *CemEVSECCInterface_AddFeatures_Call
func (*CemEVSECCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVSECCInterface_AddFeatures_Call
type CemEVSECCInterface_AddUseCase_Call ¶
CemEVSECCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVSECCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) Return() *CemEVSECCInterface_AddUseCase_Call
func (*CemEVSECCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) Run(run func()) *CemEVSECCInterface_AddUseCase_Call
func (*CemEVSECCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_AddUseCase_Call
type CemEVSECCInterface_AvailableScenariosForEntity_Call ¶
CemEVSECCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_AvailableScenariosForEntity_Call
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
type CemEVSECCInterface_Expecter ¶
type CemEVSECCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVSECCInterface_Expecter) AddFeatures ¶
func (_e *CemEVSECCInterface_Expecter) AddFeatures() *CemEVSECCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) AddUseCase ¶
func (_e *CemEVSECCInterface_Expecter) AddUseCase() *CemEVSECCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVSECCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSECCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVSECCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSECCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemEVSECCInterface_Expecter) ManufacturerData ¶
func (_e *CemEVSECCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVSECCInterface_ManufacturerData_Call
ManufacturerData is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) OperatingState ¶
func (_e *CemEVSECCInterface_Expecter) OperatingState(entity interface{}) *CemEVSECCInterface_OperatingState_Call
OperatingState is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVSECCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSECCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVSECCInterface_Expecter) RemoveUseCase() *CemEVSECCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVSECCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVSECCInterface_IsCompatibleEntityType_Call ¶
CemEVSECCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_IsCompatibleEntityType_Call
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVSECCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
type CemEVSECCInterface_ManufacturerData_Call ¶
CemEVSECCInterface_ManufacturerData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManufacturerData'
func (*CemEVSECCInterface_ManufacturerData_Call) Return ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) Return(manufacturerData api0.ManufacturerData, err error) *CemEVSECCInterface_ManufacturerData_Call
func (*CemEVSECCInterface_ManufacturerData_Call) Run ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_ManufacturerData_Call
func (*CemEVSECCInterface_ManufacturerData_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.ManufacturerData, error)) *CemEVSECCInterface_ManufacturerData_Call
type CemEVSECCInterface_OperatingState_Call ¶
CemEVSECCInterface_OperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatingState'
func (*CemEVSECCInterface_OperatingState_Call) Return ¶
func (_c *CemEVSECCInterface_OperatingState_Call) Return(deviceDiagnosisOperatingStateType model.DeviceDiagnosisOperatingStateType, s string, err error) *CemEVSECCInterface_OperatingState_Call
func (*CemEVSECCInterface_OperatingState_Call) Run ¶
func (_c *CemEVSECCInterface_OperatingState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSECCInterface_OperatingState_Call
func (*CemEVSECCInterface_OperatingState_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_OperatingState_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)) *CemEVSECCInterface_OperatingState_Call
type CemEVSECCInterface_RemoteEntitiesScenarios_Call ¶
CemEVSECCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
type CemEVSECCInterface_RemoveUseCase_Call ¶
CemEVSECCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVSECCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) Return() *CemEVSECCInterface_RemoveUseCase_Call
func (*CemEVSECCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSECCInterface_RemoveUseCase_Call
func (*CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_RemoveUseCase_Call
type CemEVSECCInterface_UpdateUseCaseAvailability_Call ¶
CemEVSECCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
type CemEVSOCInterface ¶
CemEVSOCInterface is an autogenerated mock type for the CemEVSOCInterface type
func NewCemEVSOCInterface ¶
func NewCemEVSOCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemEVSOCInterface
NewCemEVSOCInterface creates a new instance of CemEVSOCInterface. 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 (*CemEVSOCInterface) AddFeatures ¶
func (_mock *CemEVSOCInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) AddUseCase ¶
func (_mock *CemEVSOCInterface) AddUseCase()
AddUseCase provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) AvailableScenariosForEntity ¶
func (_mock *CemEVSOCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) EXPECT ¶
func (_m *CemEVSOCInterface) EXPECT() *CemEVSOCInterface_Expecter
func (*CemEVSOCInterface) IsCompatibleEntityType ¶
func (_mock *CemEVSOCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemEVSOCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) RemoteEntitiesScenarios ¶
func (_mock *CemEVSOCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) RemoveUseCase ¶
func (_mock *CemEVSOCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) StateOfCharge ¶
func (_mock *CemEVSOCInterface) StateOfCharge(entity api.EntityRemoteInterface) (float64, error)
StateOfCharge provides a mock function for the type CemEVSOCInterface
func (*CemEVSOCInterface) UpdateUseCaseAvailability ¶
func (_mock *CemEVSOCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemEVSOCInterface
type CemEVSOCInterface_AddFeatures_Call ¶
CemEVSOCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVSOCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) Return(err error) *CemEVSOCInterface_AddFeatures_Call
func (*CemEVSOCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) Run(run func()) *CemEVSOCInterface_AddFeatures_Call
func (*CemEVSOCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemEVSOCInterface_AddFeatures_Call
type CemEVSOCInterface_AddUseCase_Call ¶
CemEVSOCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVSOCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) Return() *CemEVSOCInterface_AddUseCase_Call
func (*CemEVSOCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) Run(run func()) *CemEVSOCInterface_AddUseCase_Call
func (*CemEVSOCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_AddUseCase_Call
type CemEVSOCInterface_AvailableScenariosForEntity_Call ¶
CemEVSOCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_AvailableScenariosForEntity_Call
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
type CemEVSOCInterface_Expecter ¶
type CemEVSOCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVSOCInterface_Expecter) AddFeatures ¶
func (_e *CemEVSOCInterface_Expecter) AddFeatures() *CemEVSOCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) AddUseCase ¶
func (_e *CemEVSOCInterface_Expecter) AddUseCase() *CemEVSOCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVSOCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSOCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVSOCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSOCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemEVSOCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVSOCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSOCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVSOCInterface_Expecter) RemoveUseCase() *CemEVSOCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) StateOfCharge ¶
func (_e *CemEVSOCInterface_Expecter) StateOfCharge(entity interface{}) *CemEVSOCInterface_StateOfCharge_Call
StateOfCharge is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVSOCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVSOCInterface_IsCompatibleEntityType_Call ¶
CemEVSOCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Return(b bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_IsCompatibleEntityType_Call
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVSOCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
type CemEVSOCInterface_RemoteEntitiesScenarios_Call ¶
CemEVSOCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
type CemEVSOCInterface_RemoveUseCase_Call ¶
CemEVSOCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVSOCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) Return() *CemEVSOCInterface_RemoveUseCase_Call
func (*CemEVSOCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSOCInterface_RemoveUseCase_Call
func (*CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_RemoveUseCase_Call
type CemEVSOCInterface_StateOfCharge_Call ¶
CemEVSOCInterface_StateOfCharge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StateOfCharge'
func (*CemEVSOCInterface_StateOfCharge_Call) Return ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) Return(f float64, err error) *CemEVSOCInterface_StateOfCharge_Call
func (*CemEVSOCInterface_StateOfCharge_Call) Run ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) Run(run func(entity api.EntityRemoteInterface)) *CemEVSOCInterface_StateOfCharge_Call
func (*CemEVSOCInterface_StateOfCharge_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemEVSOCInterface_StateOfCharge_Call
type CemEVSOCInterface_UpdateUseCaseAvailability_Call ¶
CemEVSOCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
type CemOHPCFInterface ¶ added in v0.8.0
CemOHPCFInterface is an autogenerated mock type for the CemOHPCFInterface type
func NewCemOHPCFInterface ¶ added in v0.8.0
func NewCemOHPCFInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemOHPCFInterface
NewCemOHPCFInterface creates a new instance of CemOHPCFInterface. 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 (*CemOHPCFInterface) AbortPowerConsumptionProcess ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) AbortPowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
AbortPowerConsumptionProcess provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) AddFeatures ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) AddUseCase ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) AddUseCase()
AddUseCase provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) AvailableScenariosForEntity ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) ConsumptionIsPausable ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) ConsumptionIsPausable(entity api.EntityRemoteInterface) (bool, error)
ConsumptionIsPausable provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) ConsumptionIsStoppable ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) ConsumptionIsStoppable(entity api.EntityRemoteInterface) (bool, error)
ConsumptionIsStoppable provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) EXPECT ¶ added in v0.8.0
func (_m *CemOHPCFInterface) EXPECT() *CemOHPCFInterface_Expecter
func (*CemOHPCFInterface) IsCompatibleEntityType ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) OptionalPowerConsumption ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) OptionalPowerConsumption(entity api.EntityRemoteInterface) (*api0.OptionalPowerConsumptionInfo, error)
OptionalPowerConsumption provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) OptionalPowerConsumptionAvailable ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) OptionalPowerConsumptionAvailable(entity api.EntityRemoteInterface) (bool, error)
OptionalPowerConsumptionAvailable provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) PausePowerConsumptionProcess ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) PausePowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
PausePowerConsumptionProcess provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) PowerConsumptionMinimalPauseDuration ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) PowerConsumptionMinimalPauseDuration(entity api.EntityRemoteInterface) (time.Duration, error)
PowerConsumptionMinimalPauseDuration provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) PowerConsumptionMinimalRunDuration ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) PowerConsumptionMinimalRunDuration(entity api.EntityRemoteInterface) (time.Duration, error)
PowerConsumptionMinimalRunDuration provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) PowerConsumptionProcessStartTime ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) PowerConsumptionProcessStartTime(entity api.EntityRemoteInterface) (time.Time, error)
PowerConsumptionProcessStartTime provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) PowerConsumptionProcessState ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) PowerConsumptionProcessState(entity api.EntityRemoteInterface) (api0.CompressorPowerConsumptionStateType, error)
PowerConsumptionProcessState provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) RemoveUseCase ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) RequestedPowerEstimate ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) RequestedPowerEstimate(entity api.EntityRemoteInterface) (float64, error)
RequestedPowerEstimate provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) RequestedPowerMax ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) RequestedPowerMax(entity api.EntityRemoteInterface) (float64, error)
RequestedPowerMax provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) ResumePowerConsumptionProcess ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) ResumePowerConsumptionProcess(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
ResumePowerConsumptionProcess provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) SchedulePowerConsumptionProcess ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) SchedulePowerConsumptionProcess(entity api.EntityRemoteInterface, startIn time.Duration, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)
SchedulePowerConsumptionProcess provides a mock function for the type CemOHPCFInterface
func (*CemOHPCFInterface) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_mock *CemOHPCFInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemOHPCFInterface
type CemOHPCFInterface_AbortPowerConsumptionProcess_Call ¶ added in v0.8.0
CemOHPCFInterface_AbortPowerConsumptionProcess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortPowerConsumptionProcess'
func (*CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
func (*CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) Run(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType))) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
func (*CemOHPCFInterface_AbortPowerConsumptionProcess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AbortPowerConsumptionProcess_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
type CemOHPCFInterface_AddFeatures_Call ¶ added in v0.8.0
CemOHPCFInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemOHPCFInterface_AddFeatures_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddFeatures_Call) Return(err error) *CemOHPCFInterface_AddFeatures_Call
func (*CemOHPCFInterface_AddFeatures_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddFeatures_Call) Run(run func()) *CemOHPCFInterface_AddFeatures_Call
func (*CemOHPCFInterface_AddFeatures_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOHPCFInterface_AddFeatures_Call
type CemOHPCFInterface_AddUseCase_Call ¶ added in v0.8.0
CemOHPCFInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemOHPCFInterface_AddUseCase_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddUseCase_Call) Return() *CemOHPCFInterface_AddUseCase_Call
func (*CemOHPCFInterface_AddUseCase_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddUseCase_Call) Run(run func()) *CemOHPCFInterface_AddUseCase_Call
func (*CemOHPCFInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AddUseCase_Call) RunAndReturn(run func()) *CemOHPCFInterface_AddUseCase_Call
type CemOHPCFInterface_AvailableScenariosForEntity_Call ¶ added in v0.8.0
CemOHPCFInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemOHPCFInterface_AvailableScenariosForEntity_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOHPCFInterface_AvailableScenariosForEntity_Call
func (*CemOHPCFInterface_AvailableScenariosForEntity_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_AvailableScenariosForEntity_Call
func (*CemOHPCFInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOHPCFInterface_AvailableScenariosForEntity_Call
type CemOHPCFInterface_ConsumptionIsPausable_Call ¶ added in v0.8.0
CemOHPCFInterface_ConsumptionIsPausable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionIsPausable'
func (*CemOHPCFInterface_ConsumptionIsPausable_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) Return(b bool, err error) *CemOHPCFInterface_ConsumptionIsPausable_Call
func (*CemOHPCFInterface_ConsumptionIsPausable_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_ConsumptionIsPausable_Call
func (*CemOHPCFInterface_ConsumptionIsPausable_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsPausable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_ConsumptionIsPausable_Call
type CemOHPCFInterface_ConsumptionIsStoppable_Call ¶ added in v0.8.0
CemOHPCFInterface_ConsumptionIsStoppable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionIsStoppable'
func (*CemOHPCFInterface_ConsumptionIsStoppable_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) Return(b bool, err error) *CemOHPCFInterface_ConsumptionIsStoppable_Call
func (*CemOHPCFInterface_ConsumptionIsStoppable_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_ConsumptionIsStoppable_Call
func (*CemOHPCFInterface_ConsumptionIsStoppable_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ConsumptionIsStoppable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_ConsumptionIsStoppable_Call
type CemOHPCFInterface_Expecter ¶ added in v0.8.0
type CemOHPCFInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemOHPCFInterface_Expecter) AbortPowerConsumptionProcess ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) AbortPowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_AbortPowerConsumptionProcess_Call
AbortPowerConsumptionProcess is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- resultCB func(result model.ResultDataType)
func (*CemOHPCFInterface_Expecter) AddFeatures ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) AddFeatures() *CemOHPCFInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemOHPCFInterface_Expecter) AddUseCase ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) AddUseCase() *CemOHPCFInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemOHPCFInterface_Expecter) AvailableScenariosForEntity ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOHPCFInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) ConsumptionIsPausable ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) ConsumptionIsPausable(entity interface{}) *CemOHPCFInterface_ConsumptionIsPausable_Call
ConsumptionIsPausable is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) ConsumptionIsStoppable ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) ConsumptionIsStoppable(entity interface{}) *CemOHPCFInterface_ConsumptionIsStoppable_Call
ConsumptionIsStoppable is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) IsCompatibleEntityType ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOHPCFInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemOHPCFInterface_Expecter) OptionalPowerConsumption ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) OptionalPowerConsumption(entity interface{}) *CemOHPCFInterface_OptionalPowerConsumption_Call
OptionalPowerConsumption is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) OptionalPowerConsumptionAvailable ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) OptionalPowerConsumptionAvailable(entity interface{}) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
OptionalPowerConsumptionAvailable is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) PausePowerConsumptionProcess ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) PausePowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
PausePowerConsumptionProcess is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- resultCB func(result model.ResultDataType)
func (*CemOHPCFInterface_Expecter) PowerConsumptionMinimalPauseDuration ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) PowerConsumptionMinimalPauseDuration(entity interface{}) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
PowerConsumptionMinimalPauseDuration is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) PowerConsumptionMinimalRunDuration ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) PowerConsumptionMinimalRunDuration(entity interface{}) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
PowerConsumptionMinimalRunDuration is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) PowerConsumptionProcessStartTime ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) PowerConsumptionProcessStartTime(entity interface{}) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
PowerConsumptionProcessStartTime is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) PowerConsumptionProcessState ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) PowerConsumptionProcessState(entity interface{}) *CemOHPCFInterface_PowerConsumptionProcessState_Call
PowerConsumptionProcessState is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) RemoteEntitiesScenarios() *CemOHPCFInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemOHPCFInterface_Expecter) RemoveUseCase ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) RemoveUseCase() *CemOHPCFInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemOHPCFInterface_Expecter) RequestedPowerEstimate ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) RequestedPowerEstimate(entity interface{}) *CemOHPCFInterface_RequestedPowerEstimate_Call
RequestedPowerEstimate is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) RequestedPowerMax ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) RequestedPowerMax(entity interface{}) *CemOHPCFInterface_RequestedPowerMax_Call
RequestedPowerMax is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOHPCFInterface_Expecter) ResumePowerConsumptionProcess ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) ResumePowerConsumptionProcess(entity interface{}, resultCB interface{}) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
ResumePowerConsumptionProcess is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- resultCB func(result model.ResultDataType)
func (*CemOHPCFInterface_Expecter) SchedulePowerConsumptionProcess ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) SchedulePowerConsumptionProcess(entity interface{}, startIn interface{}, resultCB interface{}) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
SchedulePowerConsumptionProcess is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- startIn time.Duration
- resultCB func(result model.ResultDataType)
func (*CemOHPCFInterface_Expecter) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_e *CemOHPCFInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemOHPCFInterface_IsCompatibleEntityType_Call ¶ added in v0.8.0
CemOHPCFInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemOHPCFInterface_IsCompatibleEntityType_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOHPCFInterface_IsCompatibleEntityType_Call
func (*CemOHPCFInterface_IsCompatibleEntityType_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_IsCompatibleEntityType_Call
func (*CemOHPCFInterface_IsCompatibleEntityType_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOHPCFInterface_IsCompatibleEntityType_Call
type CemOHPCFInterface_IsScenarioAvailableAtEntity_Call ¶ added in v0.8.0
CemOHPCFInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
func (*CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOHPCFInterface_IsScenarioAvailableAtEntity_Call
type CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call ¶ added in v0.8.0
CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionalPowerConsumptionAvailable'
func (*CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
func (*CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (bool, error)) *CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call
type CemOHPCFInterface_OptionalPowerConsumption_Call ¶ added in v0.8.0
CemOHPCFInterface_OptionalPowerConsumption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptionalPowerConsumption'
func (*CemOHPCFInterface_OptionalPowerConsumption_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) Return(optionalPowerConsumptionInfo *api0.OptionalPowerConsumptionInfo, err error) *CemOHPCFInterface_OptionalPowerConsumption_Call
func (*CemOHPCFInterface_OptionalPowerConsumption_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_OptionalPowerConsumption_Call
func (*CemOHPCFInterface_OptionalPowerConsumption_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_OptionalPowerConsumption_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (*api0.OptionalPowerConsumptionInfo, error)) *CemOHPCFInterface_OptionalPowerConsumption_Call
type CemOHPCFInterface_PausePowerConsumptionProcess_Call ¶ added in v0.8.0
CemOHPCFInterface_PausePowerConsumptionProcess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PausePowerConsumptionProcess'
func (*CemOHPCFInterface_PausePowerConsumptionProcess_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
func (*CemOHPCFInterface_PausePowerConsumptionProcess_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) Run(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType))) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
func (*CemOHPCFInterface_PausePowerConsumptionProcess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PausePowerConsumptionProcess_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)) *CemOHPCFInterface_PausePowerConsumptionProcess_Call
type CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call ¶ added in v0.8.0
CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerConsumptionMinimalPauseDuration'
func (*CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Return(duration time.Duration, err error) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
func (*CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
func (*CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call
type CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call ¶ added in v0.8.0
CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerConsumptionMinimalRunDuration'
func (*CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Return(duration time.Duration, err error) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
func (*CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
func (*CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call
type CemOHPCFInterface_PowerConsumptionProcessStartTime_Call ¶ added in v0.8.0
CemOHPCFInterface_PowerConsumptionProcessStartTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerConsumptionProcessStartTime'
func (*CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Return(time1 time.Time, err error) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
func (*CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
func (*CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Time, error)) *CemOHPCFInterface_PowerConsumptionProcessStartTime_Call
type CemOHPCFInterface_PowerConsumptionProcessState_Call ¶ added in v0.8.0
CemOHPCFInterface_PowerConsumptionProcessState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerConsumptionProcessState'
func (*CemOHPCFInterface_PowerConsumptionProcessState_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) Return(compressorPowerConsumptionStateType api0.CompressorPowerConsumptionStateType, err error) *CemOHPCFInterface_PowerConsumptionProcessState_Call
func (*CemOHPCFInterface_PowerConsumptionProcessState_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_PowerConsumptionProcessState_Call
func (*CemOHPCFInterface_PowerConsumptionProcessState_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_PowerConsumptionProcessState_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.CompressorPowerConsumptionStateType, error)) *CemOHPCFInterface_PowerConsumptionProcessState_Call
type CemOHPCFInterface_RemoteEntitiesScenarios_Call ¶ added in v0.8.0
CemOHPCFInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemOHPCFInterface_RemoteEntitiesScenarios_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
func (*CemOHPCFInterface_RemoteEntitiesScenarios_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
func (*CemOHPCFInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOHPCFInterface_RemoteEntitiesScenarios_Call
type CemOHPCFInterface_RemoveUseCase_Call ¶ added in v0.8.0
CemOHPCFInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemOHPCFInterface_RemoveUseCase_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoveUseCase_Call) Return() *CemOHPCFInterface_RemoveUseCase_Call
func (*CemOHPCFInterface_RemoveUseCase_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoveUseCase_Call) Run(run func()) *CemOHPCFInterface_RemoveUseCase_Call
func (*CemOHPCFInterface_RemoveUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOHPCFInterface_RemoveUseCase_Call
type CemOHPCFInterface_RequestedPowerEstimate_Call ¶ added in v0.8.0
CemOHPCFInterface_RequestedPowerEstimate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestedPowerEstimate'
func (*CemOHPCFInterface_RequestedPowerEstimate_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) Return(f float64, err error) *CemOHPCFInterface_RequestedPowerEstimate_Call
func (*CemOHPCFInterface_RequestedPowerEstimate_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_RequestedPowerEstimate_Call
func (*CemOHPCFInterface_RequestedPowerEstimate_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerEstimate_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemOHPCFInterface_RequestedPowerEstimate_Call
type CemOHPCFInterface_RequestedPowerMax_Call ¶ added in v0.8.0
CemOHPCFInterface_RequestedPowerMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestedPowerMax'
func (*CemOHPCFInterface_RequestedPowerMax_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerMax_Call) Return(f float64, err error) *CemOHPCFInterface_RequestedPowerMax_Call
func (*CemOHPCFInterface_RequestedPowerMax_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerMax_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOHPCFInterface_RequestedPowerMax_Call
func (*CemOHPCFInterface_RequestedPowerMax_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_RequestedPowerMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemOHPCFInterface_RequestedPowerMax_Call
type CemOHPCFInterface_ResumePowerConsumptionProcess_Call ¶ added in v0.8.0
CemOHPCFInterface_ResumePowerConsumptionProcess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResumePowerConsumptionProcess'
func (*CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
func (*CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) Run(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType))) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
func (*CemOHPCFInterface_ResumePowerConsumptionProcess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_ResumePowerConsumptionProcess_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)) *CemOHPCFInterface_ResumePowerConsumptionProcess_Call
type CemOHPCFInterface_SchedulePowerConsumptionProcess_Call ¶ added in v0.8.0
CemOHPCFInterface_SchedulePowerConsumptionProcess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulePowerConsumptionProcess'
func (*CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Return ¶ added in v0.8.0
func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
func (*CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) Run(run func(entity api.EntityRemoteInterface, startIn time.Duration, resultCB func(result model.ResultDataType))) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
func (*CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, startIn time.Duration, resultCB func(result model.ResultDataType)) (*model.MsgCounterType, error)) *CemOHPCFInterface_SchedulePowerConsumptionProcess_Call
type CemOHPCFInterface_UpdateUseCaseAvailability_Call ¶ added in v0.8.0
CemOHPCFInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemOHPCFInterface_UpdateUseCaseAvailability_Call) Run ¶ added in v0.8.0
func (_c *CemOHPCFInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
func (*CemOHPCFInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOHPCFInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOHPCFInterface_UpdateUseCaseAvailability_Call
type CemOPEVInterface ¶
CemOPEVInterface is an autogenerated mock type for the CemOPEVInterface type
func NewCemOPEVInterface ¶
func NewCemOPEVInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemOPEVInterface
NewCemOPEVInterface creates a new instance of CemOPEVInterface. 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 (*CemOPEVInterface) AddFeatures ¶
func (_mock *CemOPEVInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) AddUseCase ¶
func (_mock *CemOPEVInterface) AddUseCase()
AddUseCase provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) AvailableScenariosForEntity ¶
func (_mock *CemOPEVInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) CurrentLimits ¶
func (_mock *CemOPEVInterface) CurrentLimits(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentLimits provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) EXPECT ¶
func (_m *CemOPEVInterface) EXPECT() *CemOPEVInterface_Expecter
func (*CemOPEVInterface) IsCompatibleEntityType ¶
func (_mock *CemOPEVInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemOPEVInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) LoadControlLimits ¶
func (_mock *CemOPEVInterface) LoadControlLimits(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)
LoadControlLimits provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) RemoteEntitiesScenarios ¶
func (_mock *CemOPEVInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) RemoveUseCase ¶
func (_mock *CemOPEVInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) SetOperatingState ¶ added in v0.8.0
func (_mock *CemOPEVInterface) SetOperatingState(failureState bool) error
SetOperatingState provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *CemOPEVInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *CemOPEVInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) UpdateUseCaseAvailability ¶
func (_mock *CemOPEVInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemOPEVInterface
func (*CemOPEVInterface) WriteLoadControlLimits ¶
func (_mock *CemOPEVInterface) WriteLoadControlLimits(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)
WriteLoadControlLimits provides a mock function for the type CemOPEVInterface
type CemOPEVInterface_AddFeatures_Call ¶
CemOPEVInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemOPEVInterface_AddFeatures_Call) Return ¶
func (_c *CemOPEVInterface_AddFeatures_Call) Return(err error) *CemOPEVInterface_AddFeatures_Call
func (*CemOPEVInterface_AddFeatures_Call) Run ¶
func (_c *CemOPEVInterface_AddFeatures_Call) Run(run func()) *CemOPEVInterface_AddFeatures_Call
func (*CemOPEVInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOPEVInterface_AddFeatures_Call
type CemOPEVInterface_AddUseCase_Call ¶
CemOPEVInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemOPEVInterface_AddUseCase_Call) Return ¶
func (_c *CemOPEVInterface_AddUseCase_Call) Return() *CemOPEVInterface_AddUseCase_Call
func (*CemOPEVInterface_AddUseCase_Call) Run ¶
func (_c *CemOPEVInterface_AddUseCase_Call) Run(run func()) *CemOPEVInterface_AddUseCase_Call
func (*CemOPEVInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AddUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_AddUseCase_Call
type CemOPEVInterface_AvailableScenariosForEntity_Call ¶
CemOPEVInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_AvailableScenariosForEntity_Call
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
type CemOPEVInterface_CurrentLimits_Call ¶
CemOPEVInterface_CurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLimits'
func (*CemOPEVInterface_CurrentLimits_Call) Return ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, electricalConnectionPhaseNameTypeToFloat641 map[model.ElectricalConnectionPhaseNameType]float64, electricalConnectionPhaseNameTypeToFloat642 map[model.ElectricalConnectionPhaseNameType]float64, err error) *CemOPEVInterface_CurrentLimits_Call
func (*CemOPEVInterface_CurrentLimits_Call) Run ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_CurrentLimits_Call
func (*CemOPEVInterface_CurrentLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)) *CemOPEVInterface_CurrentLimits_Call
type CemOPEVInterface_Expecter ¶
type CemOPEVInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemOPEVInterface_Expecter) AddFeatures ¶
func (_e *CemOPEVInterface_Expecter) AddFeatures() *CemOPEVInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) AddUseCase ¶
func (_e *CemOPEVInterface_Expecter) AddUseCase() *CemOPEVInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemOPEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOPEVInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) CurrentLimits ¶
func (_e *CemOPEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOPEVInterface_CurrentLimits_Call
CurrentLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemOPEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOPEVInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemOPEVInterface_Expecter) LoadControlLimits ¶
func (_e *CemOPEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOPEVInterface_LoadControlLimits_Call
LoadControlLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemOPEVInterface_Expecter) RemoteEntitiesScenarios() *CemOPEVInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) RemoveUseCase ¶
func (_e *CemOPEVInterface_Expecter) RemoveUseCase() *CemOPEVInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) SetOperatingState ¶ added in v0.8.0
func (_e *CemOPEVInterface_Expecter) SetOperatingState(failureState interface{}) *CemOPEVInterface_SetOperatingState_Call
SetOperatingState is a helper method to define mock.On call
- failureState bool
func (*CemOPEVInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *CemOPEVInterface_Expecter) StartHeartbeat() *CemOPEVInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *CemOPEVInterface_Expecter) StopHeartbeat() *CemOPEVInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemOPEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOPEVInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemOPEVInterface_Expecter) WriteLoadControlLimits ¶
func (_e *CemOPEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOPEVInterface_WriteLoadControlLimits_Call
WriteLoadControlLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- limits []api0.LoadLimitsPhase
- resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)
type CemOPEVInterface_IsCompatibleEntityType_Call ¶
CemOPEVInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemOPEVInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOPEVInterface_IsCompatibleEntityType_Call
func (*CemOPEVInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_IsCompatibleEntityType_Call
func (*CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOPEVInterface_IsCompatibleEntityType_Call
type CemOPEVInterface_IsScenarioAvailableAtEntity_Call ¶
CemOPEVInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
type CemOPEVInterface_LoadControlLimits_Call ¶
CemOPEVInterface_LoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadControlLimits'
func (*CemOPEVInterface_LoadControlLimits_Call) Return ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) Return(limits []api0.LoadLimitsPhase, resultErr error) *CemOPEVInterface_LoadControlLimits_Call
func (*CemOPEVInterface_LoadControlLimits_Call) Run ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOPEVInterface_LoadControlLimits_Call
func (*CemOPEVInterface_LoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)) *CemOPEVInterface_LoadControlLimits_Call
type CemOPEVInterface_RemoteEntitiesScenarios_Call ¶
CemOPEVInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOPEVInterface_RemoteEntitiesScenarios_Call
func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
type CemOPEVInterface_RemoveUseCase_Call ¶
CemOPEVInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemOPEVInterface_RemoveUseCase_Call) Return ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) Return() *CemOPEVInterface_RemoveUseCase_Call
func (*CemOPEVInterface_RemoveUseCase_Call) Run ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) Run(run func()) *CemOPEVInterface_RemoveUseCase_Call
func (*CemOPEVInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_RemoveUseCase_Call
type CemOPEVInterface_SetOperatingState_Call ¶ added in v0.8.0
CemOPEVInterface_SetOperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOperatingState'
func (*CemOPEVInterface_SetOperatingState_Call) Return ¶ added in v0.8.0
func (_c *CemOPEVInterface_SetOperatingState_Call) Return(err error) *CemOPEVInterface_SetOperatingState_Call
func (*CemOPEVInterface_SetOperatingState_Call) Run ¶ added in v0.8.0
func (_c *CemOPEVInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemOPEVInterface_SetOperatingState_Call
func (*CemOPEVInterface_SetOperatingState_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOPEVInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemOPEVInterface_SetOperatingState_Call
type CemOPEVInterface_StartHeartbeat_Call ¶ added in v0.8.0
CemOPEVInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*CemOPEVInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemOPEVInterface_StartHeartbeat_Call) Return() *CemOPEVInterface_StartHeartbeat_Call
func (*CemOPEVInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemOPEVInterface_StartHeartbeat_Call) Run(run func()) *CemOPEVInterface_StartHeartbeat_Call
func (*CemOPEVInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOPEVInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemOPEVInterface_StartHeartbeat_Call
type CemOPEVInterface_StopHeartbeat_Call ¶ added in v0.8.0
CemOPEVInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*CemOPEVInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemOPEVInterface_StopHeartbeat_Call) Return() *CemOPEVInterface_StopHeartbeat_Call
func (*CemOPEVInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemOPEVInterface_StopHeartbeat_Call) Run(run func()) *CemOPEVInterface_StopHeartbeat_Call
func (*CemOPEVInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOPEVInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemOPEVInterface_StopHeartbeat_Call
type CemOPEVInterface_UpdateUseCaseAvailability_Call ¶
CemOPEVInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
type CemOPEVInterface_WriteLoadControlLimits_Call ¶
CemOPEVInterface_WriteLoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLoadControlLimits'
func (*CemOPEVInterface_WriteLoadControlLimits_Call) Return ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOPEVInterface_WriteLoadControlLimits_Call
func (*CemOPEVInterface_WriteLoadControlLimits_Call) Run ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType))) *CemOPEVInterface_WriteLoadControlLimits_Call
func (*CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)) *CemOPEVInterface_WriteLoadControlLimits_Call
type CemOSCEVInterface ¶
CemOSCEVInterface is an autogenerated mock type for the CemOSCEVInterface type
func NewCemOSCEVInterface ¶
func NewCemOSCEVInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemOSCEVInterface
NewCemOSCEVInterface creates a new instance of CemOSCEVInterface. 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 (*CemOSCEVInterface) AddFeatures ¶
func (_mock *CemOSCEVInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) AddUseCase ¶
func (_mock *CemOSCEVInterface) AddUseCase()
AddUseCase provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) AvailableScenariosForEntity ¶
func (_mock *CemOSCEVInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) CurrentLimits ¶
func (_mock *CemOSCEVInterface) CurrentLimits(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentLimits provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) EXPECT ¶
func (_m *CemOSCEVInterface) EXPECT() *CemOSCEVInterface_Expecter
func (*CemOSCEVInterface) IsCompatibleEntityType ¶
func (_mock *CemOSCEVInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemOSCEVInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) LoadControlLimits ¶
func (_mock *CemOSCEVInterface) LoadControlLimits(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)
LoadControlLimits provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) RemoteEntitiesScenarios ¶
func (_mock *CemOSCEVInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) RemoveUseCase ¶
func (_mock *CemOSCEVInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) SetOperatingState ¶ added in v0.8.0
func (_mock *CemOSCEVInterface) SetOperatingState(failureState bool) error
SetOperatingState provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *CemOSCEVInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *CemOSCEVInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) UpdateUseCaseAvailability ¶
func (_mock *CemOSCEVInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemOSCEVInterface
func (*CemOSCEVInterface) WriteLoadControlLimits ¶
func (_mock *CemOSCEVInterface) WriteLoadControlLimits(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)
WriteLoadControlLimits provides a mock function for the type CemOSCEVInterface
type CemOSCEVInterface_AddFeatures_Call ¶
CemOSCEVInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemOSCEVInterface_AddFeatures_Call) Return ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) Return(err error) *CemOSCEVInterface_AddFeatures_Call
func (*CemOSCEVInterface_AddFeatures_Call) Run ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) Run(run func()) *CemOSCEVInterface_AddFeatures_Call
func (*CemOSCEVInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemOSCEVInterface_AddFeatures_Call
type CemOSCEVInterface_AddUseCase_Call ¶
CemOSCEVInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemOSCEVInterface_AddUseCase_Call) Return ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) Return() *CemOSCEVInterface_AddUseCase_Call
func (*CemOSCEVInterface_AddUseCase_Call) Run ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) Run(run func()) *CemOSCEVInterface_AddUseCase_Call
func (*CemOSCEVInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_AddUseCase_Call
type CemOSCEVInterface_AvailableScenariosForEntity_Call ¶
CemOSCEVInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_AvailableScenariosForEntity_Call
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
type CemOSCEVInterface_CurrentLimits_Call ¶
CemOSCEVInterface_CurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLimits'
func (*CemOSCEVInterface_CurrentLimits_Call) Return ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, electricalConnectionPhaseNameTypeToFloat641 map[model.ElectricalConnectionPhaseNameType]float64, electricalConnectionPhaseNameTypeToFloat642 map[model.ElectricalConnectionPhaseNameType]float64, err error) *CemOSCEVInterface_CurrentLimits_Call
func (*CemOSCEVInterface_CurrentLimits_Call) Run ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_CurrentLimits_Call
func (*CemOSCEVInterface_CurrentLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, map[model.ElectricalConnectionPhaseNameType]float64, error)) *CemOSCEVInterface_CurrentLimits_Call
type CemOSCEVInterface_Expecter ¶
type CemOSCEVInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemOSCEVInterface_Expecter) AddFeatures ¶
func (_e *CemOSCEVInterface_Expecter) AddFeatures() *CemOSCEVInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) AddUseCase ¶
func (_e *CemOSCEVInterface_Expecter) AddUseCase() *CemOSCEVInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemOSCEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOSCEVInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) CurrentLimits ¶
func (_e *CemOSCEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOSCEVInterface_CurrentLimits_Call
CurrentLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemOSCEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOSCEVInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemOSCEVInterface_Expecter) LoadControlLimits ¶
func (_e *CemOSCEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOSCEVInterface_LoadControlLimits_Call
LoadControlLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemOSCEVInterface_Expecter) RemoteEntitiesScenarios() *CemOSCEVInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) RemoveUseCase ¶
func (_e *CemOSCEVInterface_Expecter) RemoveUseCase() *CemOSCEVInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) SetOperatingState ¶ added in v0.8.0
func (_e *CemOSCEVInterface_Expecter) SetOperatingState(failureState interface{}) *CemOSCEVInterface_SetOperatingState_Call
SetOperatingState is a helper method to define mock.On call
- failureState bool
func (*CemOSCEVInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *CemOSCEVInterface_Expecter) StartHeartbeat() *CemOSCEVInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *CemOSCEVInterface_Expecter) StopHeartbeat() *CemOSCEVInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemOSCEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemOSCEVInterface_Expecter) WriteLoadControlLimits ¶
func (_e *CemOSCEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOSCEVInterface_WriteLoadControlLimits_Call
WriteLoadControlLimits is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- limits []api0.LoadLimitsPhase
- resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)
type CemOSCEVInterface_IsCompatibleEntityType_Call ¶
CemOSCEVInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Return(b bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_IsCompatibleEntityType_Call
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call ¶
CemOSCEVInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
type CemOSCEVInterface_LoadControlLimits_Call ¶
CemOSCEVInterface_LoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadControlLimits'
func (*CemOSCEVInterface_LoadControlLimits_Call) Return ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) Return(limits []api0.LoadLimitsPhase, resultErr error) *CemOSCEVInterface_LoadControlLimits_Call
func (*CemOSCEVInterface_LoadControlLimits_Call) Run ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface)) *CemOSCEVInterface_LoadControlLimits_Call
func (*CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) ([]api0.LoadLimitsPhase, error)) *CemOSCEVInterface_LoadControlLimits_Call
type CemOSCEVInterface_RemoteEntitiesScenarios_Call ¶
CemOSCEVInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
type CemOSCEVInterface_RemoveUseCase_Call ¶
CemOSCEVInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemOSCEVInterface_RemoveUseCase_Call) Return ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) Return() *CemOSCEVInterface_RemoveUseCase_Call
func (*CemOSCEVInterface_RemoveUseCase_Call) Run ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) Run(run func()) *CemOSCEVInterface_RemoveUseCase_Call
func (*CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_RemoveUseCase_Call
type CemOSCEVInterface_SetOperatingState_Call ¶ added in v0.8.0
CemOSCEVInterface_SetOperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOperatingState'
func (*CemOSCEVInterface_SetOperatingState_Call) Return ¶ added in v0.8.0
func (_c *CemOSCEVInterface_SetOperatingState_Call) Return(err error) *CemOSCEVInterface_SetOperatingState_Call
func (*CemOSCEVInterface_SetOperatingState_Call) Run ¶ added in v0.8.0
func (_c *CemOSCEVInterface_SetOperatingState_Call) Run(run func(failureState bool)) *CemOSCEVInterface_SetOperatingState_Call
func (*CemOSCEVInterface_SetOperatingState_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOSCEVInterface_SetOperatingState_Call) RunAndReturn(run func(failureState bool) error) *CemOSCEVInterface_SetOperatingState_Call
type CemOSCEVInterface_StartHeartbeat_Call ¶ added in v0.8.0
CemOSCEVInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*CemOSCEVInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StartHeartbeat_Call) Return() *CemOSCEVInterface_StartHeartbeat_Call
func (*CemOSCEVInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StartHeartbeat_Call) Run(run func()) *CemOSCEVInterface_StartHeartbeat_Call
func (*CemOSCEVInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CemOSCEVInterface_StartHeartbeat_Call
type CemOSCEVInterface_StopHeartbeat_Call ¶ added in v0.8.0
CemOSCEVInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*CemOSCEVInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StopHeartbeat_Call) Return() *CemOSCEVInterface_StopHeartbeat_Call
func (*CemOSCEVInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StopHeartbeat_Call) Run(run func()) *CemOSCEVInterface_StopHeartbeat_Call
func (*CemOSCEVInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CemOSCEVInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CemOSCEVInterface_StopHeartbeat_Call
type CemOSCEVInterface_UpdateUseCaseAvailability_Call ¶
CemOSCEVInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
type CemOSCEVInterface_WriteLoadControlLimits_Call ¶
CemOSCEVInterface_WriteLoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLoadControlLimits'
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) Return ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Return(msgCounterType *model.MsgCounterType, err error) *CemOSCEVInterface_WriteLoadControlLimits_Call
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) Run ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Run(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType))) *CemOSCEVInterface_WriteLoadControlLimits_Call
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, limits []api0.LoadLimitsPhase, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)) *CemOSCEVInterface_WriteLoadControlLimits_Call
type CemVABDInterface ¶
CemVABDInterface is an autogenerated mock type for the CemVABDInterface type
func NewCemVABDInterface ¶
func NewCemVABDInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemVABDInterface
NewCemVABDInterface creates a new instance of CemVABDInterface. 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 (*CemVABDInterface) AddFeatures ¶
func (_mock *CemVABDInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) AddUseCase ¶
func (_mock *CemVABDInterface) AddUseCase()
AddUseCase provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) AvailableScenariosForEntity ¶
func (_mock *CemVABDInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) EXPECT ¶
func (_m *CemVABDInterface) EXPECT() *CemVABDInterface_Expecter
func (*CemVABDInterface) EnergyCharged ¶
func (_mock *CemVABDInterface) EnergyCharged(entity api.EntityRemoteInterface) (float64, error)
EnergyCharged provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) EnergyDischarged ¶
func (_mock *CemVABDInterface) EnergyDischarged(entity api.EntityRemoteInterface) (float64, error)
EnergyDischarged provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) IsCompatibleEntityType ¶
func (_mock *CemVABDInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemVABDInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) Power ¶
func (_mock *CemVABDInterface) Power(entity api.EntityRemoteInterface) (float64, error)
Power provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) RemoteEntitiesScenarios ¶
func (_mock *CemVABDInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) RemoveUseCase ¶
func (_mock *CemVABDInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) StateOfCharge ¶
func (_mock *CemVABDInterface) StateOfCharge(entity api.EntityRemoteInterface) (float64, error)
StateOfCharge provides a mock function for the type CemVABDInterface
func (*CemVABDInterface) UpdateUseCaseAvailability ¶
func (_mock *CemVABDInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemVABDInterface
type CemVABDInterface_AddFeatures_Call ¶
CemVABDInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemVABDInterface_AddFeatures_Call) Return ¶
func (_c *CemVABDInterface_AddFeatures_Call) Return(err error) *CemVABDInterface_AddFeatures_Call
func (*CemVABDInterface_AddFeatures_Call) Run ¶
func (_c *CemVABDInterface_AddFeatures_Call) Run(run func()) *CemVABDInterface_AddFeatures_Call
func (*CemVABDInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemVABDInterface_AddFeatures_Call
type CemVABDInterface_AddUseCase_Call ¶
CemVABDInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemVABDInterface_AddUseCase_Call) Return ¶
func (_c *CemVABDInterface_AddUseCase_Call) Return() *CemVABDInterface_AddUseCase_Call
func (*CemVABDInterface_AddUseCase_Call) Run ¶
func (_c *CemVABDInterface_AddUseCase_Call) Run(run func()) *CemVABDInterface_AddUseCase_Call
func (*CemVABDInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AddUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_AddUseCase_Call
type CemVABDInterface_AvailableScenariosForEntity_Call ¶
CemVABDInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemVABDInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
func (*CemVABDInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_AvailableScenariosForEntity_Call
func (*CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
type CemVABDInterface_EnergyCharged_Call ¶
CemVABDInterface_EnergyCharged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyCharged'
func (*CemVABDInterface_EnergyCharged_Call) Return ¶
func (_c *CemVABDInterface_EnergyCharged_Call) Return(f float64, err error) *CemVABDInterface_EnergyCharged_Call
func (*CemVABDInterface_EnergyCharged_Call) Run ¶
func (_c *CemVABDInterface_EnergyCharged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_EnergyCharged_Call
func (*CemVABDInterface_EnergyCharged_Call) RunAndReturn ¶
func (_c *CemVABDInterface_EnergyCharged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyCharged_Call
type CemVABDInterface_EnergyDischarged_Call ¶
CemVABDInterface_EnergyDischarged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyDischarged'
func (*CemVABDInterface_EnergyDischarged_Call) Return ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) Return(f float64, err error) *CemVABDInterface_EnergyDischarged_Call
func (*CemVABDInterface_EnergyDischarged_Call) Run ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_EnergyDischarged_Call
func (*CemVABDInterface_EnergyDischarged_Call) RunAndReturn ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyDischarged_Call
type CemVABDInterface_Expecter ¶
type CemVABDInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemVABDInterface_Expecter) AddFeatures ¶
func (_e *CemVABDInterface_Expecter) AddFeatures() *CemVABDInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) AddUseCase ¶
func (_e *CemVABDInterface_Expecter) AddUseCase() *CemVABDInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemVABDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVABDInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) EnergyCharged ¶
func (_e *CemVABDInterface_Expecter) EnergyCharged(entity interface{}) *CemVABDInterface_EnergyCharged_Call
EnergyCharged is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) EnergyDischarged ¶
func (_e *CemVABDInterface_Expecter) EnergyDischarged(entity interface{}) *CemVABDInterface_EnergyDischarged_Call
EnergyDischarged is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemVABDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVABDInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemVABDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemVABDInterface_Expecter) Power ¶
func (_e *CemVABDInterface_Expecter) Power(entity interface{}) *CemVABDInterface_Power_Call
Power is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemVABDInterface_Expecter) RemoteEntitiesScenarios() *CemVABDInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) RemoveUseCase ¶
func (_e *CemVABDInterface_Expecter) RemoveUseCase() *CemVABDInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) StateOfCharge ¶
func (_e *CemVABDInterface_Expecter) StateOfCharge(entity interface{}) *CemVABDInterface_StateOfCharge_Call
StateOfCharge is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVABDInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemVABDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVABDInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemVABDInterface_IsCompatibleEntityType_Call ¶
CemVABDInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemVABDInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Return(b bool) *CemVABDInterface_IsCompatibleEntityType_Call
func (*CemVABDInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_IsCompatibleEntityType_Call
func (*CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemVABDInterface_IsCompatibleEntityType_Call
type CemVABDInterface_IsScenarioAvailableAtEntity_Call ¶
CemVABDInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
type CemVABDInterface_Power_Call ¶
CemVABDInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*CemVABDInterface_Power_Call) Return ¶
func (_c *CemVABDInterface_Power_Call) Return(f float64, err error) *CemVABDInterface_Power_Call
func (*CemVABDInterface_Power_Call) Run ¶
func (_c *CemVABDInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_Power_Call
func (*CemVABDInterface_Power_Call) RunAndReturn ¶
func (_c *CemVABDInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_Power_Call
type CemVABDInterface_RemoteEntitiesScenarios_Call ¶
CemVABDInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemVABDInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
func (*CemVABDInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVABDInterface_RemoteEntitiesScenarios_Call
func (*CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
type CemVABDInterface_RemoveUseCase_Call ¶
CemVABDInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemVABDInterface_RemoveUseCase_Call) Return ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) Return() *CemVABDInterface_RemoveUseCase_Call
func (*CemVABDInterface_RemoveUseCase_Call) Run ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) Run(run func()) *CemVABDInterface_RemoveUseCase_Call
func (*CemVABDInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_RemoveUseCase_Call
type CemVABDInterface_StateOfCharge_Call ¶
CemVABDInterface_StateOfCharge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StateOfCharge'
func (*CemVABDInterface_StateOfCharge_Call) Return ¶
func (_c *CemVABDInterface_StateOfCharge_Call) Return(f float64, err error) *CemVABDInterface_StateOfCharge_Call
func (*CemVABDInterface_StateOfCharge_Call) Run ¶
func (_c *CemVABDInterface_StateOfCharge_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVABDInterface_StateOfCharge_Call
func (*CemVABDInterface_StateOfCharge_Call) RunAndReturn ¶
func (_c *CemVABDInterface_StateOfCharge_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVABDInterface_StateOfCharge_Call
type CemVABDInterface_UpdateUseCaseAvailability_Call ¶
CemVABDInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemVABDInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
func (*CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
type CemVAPDInterface ¶
CemVAPDInterface is an autogenerated mock type for the CemVAPDInterface type
func NewCemVAPDInterface ¶
func NewCemVAPDInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CemVAPDInterface
NewCemVAPDInterface creates a new instance of CemVAPDInterface. 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 (*CemVAPDInterface) AddFeatures ¶
func (_mock *CemVAPDInterface) AddFeatures() error
AddFeatures provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) AddUseCase ¶
func (_mock *CemVAPDInterface) AddUseCase()
AddUseCase provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) AvailableScenariosForEntity ¶
func (_mock *CemVAPDInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) EXPECT ¶
func (_m *CemVAPDInterface) EXPECT() *CemVAPDInterface_Expecter
func (*CemVAPDInterface) IsCompatibleEntityType ¶
func (_mock *CemVAPDInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CemVAPDInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) PVYieldTotal ¶
func (_mock *CemVAPDInterface) PVYieldTotal(entity api.EntityRemoteInterface) (float64, error)
PVYieldTotal provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) Power ¶
func (_mock *CemVAPDInterface) Power(entity api.EntityRemoteInterface) (float64, error)
Power provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) PowerNominalPeak ¶
func (_mock *CemVAPDInterface) PowerNominalPeak(entity api.EntityRemoteInterface) (float64, error)
PowerNominalPeak provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) RemoteEntitiesScenarios ¶
func (_mock *CemVAPDInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) RemoveUseCase ¶
func (_mock *CemVAPDInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CemVAPDInterface
func (*CemVAPDInterface) UpdateUseCaseAvailability ¶
func (_mock *CemVAPDInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CemVAPDInterface
type CemVAPDInterface_AddFeatures_Call ¶
CemVAPDInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemVAPDInterface_AddFeatures_Call) Return ¶
func (_c *CemVAPDInterface_AddFeatures_Call) Return(err error) *CemVAPDInterface_AddFeatures_Call
func (*CemVAPDInterface_AddFeatures_Call) Run ¶
func (_c *CemVAPDInterface_AddFeatures_Call) Run(run func()) *CemVAPDInterface_AddFeatures_Call
func (*CemVAPDInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AddFeatures_Call) RunAndReturn(run func() error) *CemVAPDInterface_AddFeatures_Call
type CemVAPDInterface_AddUseCase_Call ¶
CemVAPDInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemVAPDInterface_AddUseCase_Call) Return ¶
func (_c *CemVAPDInterface_AddUseCase_Call) Return() *CemVAPDInterface_AddUseCase_Call
func (*CemVAPDInterface_AddUseCase_Call) Run ¶
func (_c *CemVAPDInterface_AddUseCase_Call) Run(run func()) *CemVAPDInterface_AddUseCase_Call
func (*CemVAPDInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AddUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_AddUseCase_Call
type CemVAPDInterface_AvailableScenariosForEntity_Call ¶
CemVAPDInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_AvailableScenariosForEntity_Call
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
type CemVAPDInterface_Expecter ¶
type CemVAPDInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemVAPDInterface_Expecter) AddFeatures ¶
func (_e *CemVAPDInterface_Expecter) AddFeatures() *CemVAPDInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) AddUseCase ¶
func (_e *CemVAPDInterface_Expecter) AddUseCase() *CemVAPDInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemVAPDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVAPDInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemVAPDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVAPDInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CemVAPDInterface_Expecter) PVYieldTotal ¶
func (_e *CemVAPDInterface_Expecter) PVYieldTotal(entity interface{}) *CemVAPDInterface_PVYieldTotal_Call
PVYieldTotal is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) Power ¶
func (_e *CemVAPDInterface_Expecter) Power(entity interface{}) *CemVAPDInterface_Power_Call
Power is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) PowerNominalPeak ¶
func (_e *CemVAPDInterface_Expecter) PowerNominalPeak(entity interface{}) *CemVAPDInterface_PowerNominalPeak_Call
PowerNominalPeak is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemVAPDInterface_Expecter) RemoteEntitiesScenarios() *CemVAPDInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) RemoveUseCase ¶
func (_e *CemVAPDInterface_Expecter) RemoveUseCase() *CemVAPDInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemVAPDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVAPDInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemVAPDInterface_IsCompatibleEntityType_Call ¶
CemVAPDInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemVAPDInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Return(b bool) *CemVAPDInterface_IsCompatibleEntityType_Call
func (*CemVAPDInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_IsCompatibleEntityType_Call
func (*CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CemVAPDInterface_IsCompatibleEntityType_Call
type CemVAPDInterface_IsScenarioAvailableAtEntity_Call ¶
CemVAPDInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
type CemVAPDInterface_PVYieldTotal_Call ¶
CemVAPDInterface_PVYieldTotal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PVYieldTotal'
func (*CemVAPDInterface_PVYieldTotal_Call) Return ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) Return(f float64, err error) *CemVAPDInterface_PVYieldTotal_Call
func (*CemVAPDInterface_PVYieldTotal_Call) Run ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_PVYieldTotal_Call
func (*CemVAPDInterface_PVYieldTotal_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PVYieldTotal_Call
type CemVAPDInterface_PowerNominalPeak_Call ¶
CemVAPDInterface_PowerNominalPeak_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerNominalPeak'
func (*CemVAPDInterface_PowerNominalPeak_Call) Return ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) Return(f float64, err error) *CemVAPDInterface_PowerNominalPeak_Call
func (*CemVAPDInterface_PowerNominalPeak_Call) Run ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_PowerNominalPeak_Call
func (*CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PowerNominalPeak_Call
type CemVAPDInterface_Power_Call ¶
CemVAPDInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*CemVAPDInterface_Power_Call) Return ¶
func (_c *CemVAPDInterface_Power_Call) Return(f float64, err error) *CemVAPDInterface_Power_Call
func (*CemVAPDInterface_Power_Call) Run ¶
func (_c *CemVAPDInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *CemVAPDInterface_Power_Call
func (*CemVAPDInterface_Power_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_Power_Call
type CemVAPDInterface_RemoteEntitiesScenarios_Call ¶
CemVAPDInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVAPDInterface_RemoteEntitiesScenarios_Call
func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
type CemVAPDInterface_RemoveUseCase_Call ¶
CemVAPDInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemVAPDInterface_RemoveUseCase_Call) Return ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) Return() *CemVAPDInterface_RemoveUseCase_Call
func (*CemVAPDInterface_RemoveUseCase_Call) Run ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) Run(run func()) *CemVAPDInterface_RemoveUseCase_Call
func (*CemVAPDInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_RemoveUseCase_Call
type CemVAPDInterface_UpdateUseCaseAvailability_Call ¶
CemVAPDInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
type CsLPCInterface ¶
CsLPCInterface is an autogenerated mock type for the CsLPCInterface type
func NewCsLPCInterface ¶
func NewCsLPCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CsLPCInterface
NewCsLPCInterface creates a new instance of CsLPCInterface. 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 (*CsLPCInterface) AddFeatures ¶
func (_mock *CsLPCInterface) AddFeatures() error
AddFeatures provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) AddUseCase ¶
func (_mock *CsLPCInterface) AddUseCase()
AddUseCase provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) ApproveOrDenyConsumptionLimit ¶
func (_mock *CsLPCInterface) ApproveOrDenyConsumptionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyConsumptionLimit provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) ApproveOrDenyDeviceConfiguration ¶ added in v0.8.0
func (_mock *CsLPCInterface) ApproveOrDenyDeviceConfiguration(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyDeviceConfiguration provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) AvailableScenariosForEntity ¶
func (_mock *CsLPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) ConsumptionLimit ¶
func (_mock *CsLPCInterface) ConsumptionLimit() (api0.LoadLimit, error)
ConsumptionLimit provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) ConsumptionNominalMax ¶ added in v0.6.2
func (_mock *CsLPCInterface) ConsumptionNominalMax() (float64, error)
ConsumptionNominalMax provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) EXPECT ¶
func (_m *CsLPCInterface) EXPECT() *CsLPCInterface_Expecter
func (*CsLPCInterface) FailsafeConsumptionActivePowerLimit ¶
func (_mock *CsLPCInterface) FailsafeConsumptionActivePowerLimit() (float64, bool, error)
FailsafeConsumptionActivePowerLimit provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) FailsafeDurationMinimum ¶
func (_mock *CsLPCInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
FailsafeDurationMinimum provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) IsCompatibleEntityType ¶
func (_mock *CsLPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) IsHeartbeatWithinDuration ¶
func (_mock *CsLPCInterface) IsHeartbeatWithinDuration() bool
IsHeartbeatWithinDuration provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CsLPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) PendingConsumptionLimits ¶
func (_mock *CsLPCInterface) PendingConsumptionLimits() map[model.MsgCounterType]api0.LoadLimit
PendingConsumptionLimits provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) PendingDeviceConfigurations ¶ added in v0.8.0
func (_mock *CsLPCInterface) PendingDeviceConfigurations() map[model.MsgCounterType][]api0.PendingDeviceConfiguration
PendingDeviceConfigurations provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) RemoteEntitiesScenarios ¶
func (_mock *CsLPCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) RemoveUseCase ¶
func (_mock *CsLPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) SetConsumptionLimit ¶
func (_mock *CsLPCInterface) SetConsumptionLimit(limit api0.LoadLimit) error
SetConsumptionLimit provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) SetConsumptionNominalMax ¶ added in v0.6.2
func (_mock *CsLPCInterface) SetConsumptionNominalMax(value float64) error
SetConsumptionNominalMax provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) SetFailsafeConsumptionActivePowerLimit ¶
func (_mock *CsLPCInterface) SetFailsafeConsumptionActivePowerLimit(value float64, changeable bool) error
SetFailsafeConsumptionActivePowerLimit provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) SetFailsafeDurationMinimum ¶
func (_mock *CsLPCInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
SetFailsafeDurationMinimum provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *CsLPCInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *CsLPCInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type CsLPCInterface
func (*CsLPCInterface) UpdateUseCaseAvailability ¶
func (_mock *CsLPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CsLPCInterface
type CsLPCInterface_AddFeatures_Call ¶
CsLPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CsLPCInterface_AddFeatures_Call) Return ¶
func (_c *CsLPCInterface_AddFeatures_Call) Return(err error) *CsLPCInterface_AddFeatures_Call
func (*CsLPCInterface_AddFeatures_Call) Run ¶
func (_c *CsLPCInterface_AddFeatures_Call) Run(run func()) *CsLPCInterface_AddFeatures_Call
func (*CsLPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AddFeatures_Call) RunAndReturn(run func() error) *CsLPCInterface_AddFeatures_Call
type CsLPCInterface_AddUseCase_Call ¶
CsLPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CsLPCInterface_AddUseCase_Call) Return ¶
func (_c *CsLPCInterface_AddUseCase_Call) Return() *CsLPCInterface_AddUseCase_Call
func (*CsLPCInterface_AddUseCase_Call) Run ¶
func (_c *CsLPCInterface_AddUseCase_Call) Run(run func()) *CsLPCInterface_AddUseCase_Call
func (*CsLPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *CsLPCInterface_AddUseCase_Call
type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call ¶
CsLPCInterface_ApproveOrDenyConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyConsumptionLimit'
func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
type CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call ¶ added in v0.8.0
CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyDeviceConfiguration'
func (*CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Run ¶ added in v0.8.0
func (_c *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
func (*CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
type CsLPCInterface_AvailableScenariosForEntity_Call ¶
CsLPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CsLPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
func (*CsLPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPCInterface_AvailableScenariosForEntity_Call
func (*CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
type CsLPCInterface_ConsumptionLimit_Call ¶
CsLPCInterface_ConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionLimit'
func (*CsLPCInterface_ConsumptionLimit_Call) Return ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) Return(loadLimit api0.LoadLimit, err error) *CsLPCInterface_ConsumptionLimit_Call
func (*CsLPCInterface_ConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) Run(run func()) *CsLPCInterface_ConsumptionLimit_Call
func (*CsLPCInterface_ConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func() (api0.LoadLimit, error)) *CsLPCInterface_ConsumptionLimit_Call
type CsLPCInterface_ConsumptionNominalMax_Call ¶ added in v0.6.2
CsLPCInterface_ConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionNominalMax'
func (*CsLPCInterface_ConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Return(f float64, err error) *CsLPCInterface_ConsumptionNominalMax_Call
func (*CsLPCInterface_ConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Run(run func()) *CsLPCInterface_ConsumptionNominalMax_Call
func (*CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPCInterface_ConsumptionNominalMax_Call
type CsLPCInterface_Expecter ¶
type CsLPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CsLPCInterface_Expecter) AddFeatures ¶
func (_e *CsLPCInterface_Expecter) AddFeatures() *CsLPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) AddUseCase ¶
func (_e *CsLPCInterface_Expecter) AddUseCase() *CsLPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
ApproveOrDenyConsumptionLimit is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPCInterface_Expecter) ApproveOrDenyDeviceConfiguration ¶ added in v0.8.0
func (_e *CsLPCInterface_Expecter) ApproveOrDenyDeviceConfiguration(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call
ApproveOrDenyDeviceConfiguration is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CsLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CsLPCInterface_Expecter) ConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) ConsumptionLimit() *CsLPCInterface_ConsumptionLimit_Call
ConsumptionLimit is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) ConsumptionNominalMax ¶ added in v0.6.2
func (_e *CsLPCInterface_Expecter) ConsumptionNominalMax() *CsLPCInterface_ConsumptionNominalMax_Call
ConsumptionNominalMax is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit ¶
func (_e *CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit() *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
FailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *CsLPCInterface_Expecter) FailsafeDurationMinimum() *CsLPCInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CsLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CsLPCInterface_Expecter) IsHeartbeatWithinDuration ¶
func (_e *CsLPCInterface_Expecter) IsHeartbeatWithinDuration() *CsLPCInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CsLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CsLPCInterface_Expecter) PendingConsumptionLimits ¶
func (_e *CsLPCInterface_Expecter) PendingConsumptionLimits() *CsLPCInterface_PendingConsumptionLimits_Call
PendingConsumptionLimits is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) PendingDeviceConfigurations ¶ added in v0.8.0
func (_e *CsLPCInterface_Expecter) PendingDeviceConfigurations() *CsLPCInterface_PendingDeviceConfigurations_Call
PendingDeviceConfigurations is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CsLPCInterface_Expecter) RemoteEntitiesScenarios() *CsLPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) RemoveUseCase ¶
func (_e *CsLPCInterface_Expecter) RemoveUseCase() *CsLPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) SetConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) SetConsumptionLimit(limit interface{}) *CsLPCInterface_SetConsumptionLimit_Call
SetConsumptionLimit is a helper method to define mock.On call
- limit api0.LoadLimit
func (*CsLPCInterface_Expecter) SetConsumptionNominalMax ¶ added in v0.6.2
func (_e *CsLPCInterface_Expecter) SetConsumptionNominalMax(value interface{}) *CsLPCInterface_SetConsumptionNominalMax_Call
SetConsumptionNominalMax is a helper method to define mock.On call
- value float64
func (*CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit ¶
func (_e *CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit(value interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
SetFailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- value float64
- changeable bool
func (*CsLPCInterface_Expecter) SetFailsafeDurationMinimum ¶
func (_e *CsLPCInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeDurationMinimum_Call
SetFailsafeDurationMinimum is a helper method to define mock.On call
- duration time.Duration
- changeable bool
func (*CsLPCInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *CsLPCInterface_Expecter) StartHeartbeat() *CsLPCInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *CsLPCInterface_Expecter) StopHeartbeat() *CsLPCInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CsLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call ¶
CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeConsumptionActivePowerLimit'
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func()) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
type CsLPCInterface_FailsafeDurationMinimum_Call ¶
CsLPCInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*CsLPCInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeDurationMinimum_Call
func (*CsLPCInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPCInterface_FailsafeDurationMinimum_Call
func (*CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPCInterface_FailsafeDurationMinimum_Call
type CsLPCInterface_IsCompatibleEntityType_Call ¶
CsLPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CsLPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Return(b bool) *CsLPCInterface_IsCompatibleEntityType_Call
func (*CsLPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPCInterface_IsCompatibleEntityType_Call
func (*CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CsLPCInterface_IsCompatibleEntityType_Call
type CsLPCInterface_IsHeartbeatWithinDuration_Call ¶
CsLPCInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) Return ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) Run ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPCInterface_IsHeartbeatWithinDuration_Call
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
type CsLPCInterface_IsScenarioAvailableAtEntity_Call ¶
CsLPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
type CsLPCInterface_PendingConsumptionLimits_Call ¶
CsLPCInterface_PendingConsumptionLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingConsumptionLimits'
func (*CsLPCInterface_PendingConsumptionLimits_Call) Return ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Return(msgCounterTypeToLoadLimit map[model.MsgCounterType]api0.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
func (*CsLPCInterface_PendingConsumptionLimits_Call) Run ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Run(run func()) *CsLPCInterface_PendingConsumptionLimits_Call
func (*CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api0.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
type CsLPCInterface_PendingDeviceConfigurations_Call ¶ added in v0.8.0
CsLPCInterface_PendingDeviceConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingDeviceConfigurations'
func (*CsLPCInterface_PendingDeviceConfigurations_Call) Return ¶ added in v0.8.0
func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) Return(msgCounterTypeToPendingDeviceConfigurations map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPCInterface_PendingDeviceConfigurations_Call
func (*CsLPCInterface_PendingDeviceConfigurations_Call) Run ¶ added in v0.8.0
func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) Run(run func()) *CsLPCInterface_PendingDeviceConfigurations_Call
func (*CsLPCInterface_PendingDeviceConfigurations_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPCInterface_PendingDeviceConfigurations_Call) RunAndReturn(run func() map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPCInterface_PendingDeviceConfigurations_Call
type CsLPCInterface_RemoteEntitiesScenarios_Call ¶
CsLPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CsLPCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
func (*CsLPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPCInterface_RemoteEntitiesScenarios_Call
func (*CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
type CsLPCInterface_RemoveUseCase_Call ¶
CsLPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CsLPCInterface_RemoveUseCase_Call) Return ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) Return() *CsLPCInterface_RemoveUseCase_Call
func (*CsLPCInterface_RemoveUseCase_Call) Run ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) Run(run func()) *CsLPCInterface_RemoveUseCase_Call
func (*CsLPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CsLPCInterface_RemoveUseCase_Call
type CsLPCInterface_SetConsumptionLimit_Call ¶
CsLPCInterface_SetConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConsumptionLimit'
func (*CsLPCInterface_SetConsumptionLimit_Call) Return ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionLimit_Call
func (*CsLPCInterface_SetConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) Run(run func(limit api0.LoadLimit)) *CsLPCInterface_SetConsumptionLimit_Call
func (*CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn(run func(limit api0.LoadLimit) error) *CsLPCInterface_SetConsumptionLimit_Call
type CsLPCInterface_SetConsumptionNominalMax_Call ¶ added in v0.6.2
CsLPCInterface_SetConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConsumptionNominalMax'
func (*CsLPCInterface_SetConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionNominalMax_Call
func (*CsLPCInterface_SetConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Run(run func(value float64)) *CsLPCInterface_SetConsumptionNominalMax_Call
func (*CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn(run func(value float64) error) *CsLPCInterface_SetConsumptionNominalMax_Call
type CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call ¶
CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeConsumptionActivePowerLimit'
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(value float64, changeable bool) error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
type CsLPCInterface_SetFailsafeDurationMinimum_Call ¶
CsLPCInterface_SetFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeDurationMinimum'
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPCInterface_SetFailsafeDurationMinimum_Call
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(duration time.Duration, changeable bool) error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
type CsLPCInterface_StartHeartbeat_Call ¶ added in v0.8.0
CsLPCInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*CsLPCInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CsLPCInterface_StartHeartbeat_Call) Return() *CsLPCInterface_StartHeartbeat_Call
func (*CsLPCInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CsLPCInterface_StartHeartbeat_Call) Run(run func()) *CsLPCInterface_StartHeartbeat_Call
func (*CsLPCInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPCInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CsLPCInterface_StartHeartbeat_Call
type CsLPCInterface_StopHeartbeat_Call ¶ added in v0.8.0
CsLPCInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*CsLPCInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CsLPCInterface_StopHeartbeat_Call) Return() *CsLPCInterface_StopHeartbeat_Call
func (*CsLPCInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CsLPCInterface_StopHeartbeat_Call) Run(run func()) *CsLPCInterface_StopHeartbeat_Call
func (*CsLPCInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPCInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CsLPCInterface_StopHeartbeat_Call
type CsLPCInterface_UpdateUseCaseAvailability_Call ¶
CsLPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CsLPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
func (*CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
type CsLPPInterface ¶
CsLPPInterface is an autogenerated mock type for the CsLPPInterface type
func NewCsLPPInterface ¶
func NewCsLPPInterface(t interface {
mock.TestingT
Cleanup(func())
}) *CsLPPInterface
NewCsLPPInterface creates a new instance of CsLPPInterface. 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 (*CsLPPInterface) AddFeatures ¶
func (_mock *CsLPPInterface) AddFeatures() error
AddFeatures provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) AddUseCase ¶
func (_mock *CsLPPInterface) AddUseCase()
AddUseCase provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) ApproveOrDenyDeviceConfiguration ¶ added in v0.8.0
func (_mock *CsLPPInterface) ApproveOrDenyDeviceConfiguration(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyDeviceConfiguration provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) ApproveOrDenyProductionLimit ¶
func (_mock *CsLPPInterface) ApproveOrDenyProductionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyProductionLimit provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) AvailableScenariosForEntity ¶
func (_mock *CsLPPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) EXPECT ¶
func (_m *CsLPPInterface) EXPECT() *CsLPPInterface_Expecter
func (*CsLPPInterface) FailsafeDurationMinimum ¶
func (_mock *CsLPPInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
FailsafeDurationMinimum provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) FailsafeProductionActivePowerLimit ¶
func (_mock *CsLPPInterface) FailsafeProductionActivePowerLimit() (float64, bool, error)
FailsafeProductionActivePowerLimit provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) IsCompatibleEntityType ¶
func (_mock *CsLPPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) IsHeartbeatWithinDuration ¶
func (_mock *CsLPPInterface) IsHeartbeatWithinDuration() bool
IsHeartbeatWithinDuration provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) IsScenarioAvailableAtEntity ¶
func (_mock *CsLPPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) PendingDeviceConfigurations ¶ added in v0.8.0
func (_mock *CsLPPInterface) PendingDeviceConfigurations() map[model.MsgCounterType][]api0.PendingDeviceConfiguration
PendingDeviceConfigurations provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) PendingProductionLimits ¶
func (_mock *CsLPPInterface) PendingProductionLimits() map[model.MsgCounterType]api0.LoadLimit
PendingProductionLimits provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) ProductionLimit ¶
func (_mock *CsLPPInterface) ProductionLimit() (api0.LoadLimit, error)
ProductionLimit provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) ProductionNominalMax ¶ added in v0.6.2
func (_mock *CsLPPInterface) ProductionNominalMax() (float64, error)
ProductionNominalMax provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) RemoteEntitiesScenarios ¶
func (_mock *CsLPPInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) RemoveUseCase ¶
func (_mock *CsLPPInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) SetFailsafeDurationMinimum ¶
func (_mock *CsLPPInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
SetFailsafeDurationMinimum provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) SetFailsafeProductionActivePowerLimit ¶
func (_mock *CsLPPInterface) SetFailsafeProductionActivePowerLimit(value float64, changeable bool) error
SetFailsafeProductionActivePowerLimit provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) SetProductionLimit ¶
func (_mock *CsLPPInterface) SetProductionLimit(limit api0.LoadLimit) error
SetProductionLimit provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) SetProductionNominalMax ¶ added in v0.6.2
func (_mock *CsLPPInterface) SetProductionNominalMax(value float64) error
SetProductionNominalMax provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *CsLPPInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *CsLPPInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type CsLPPInterface
func (*CsLPPInterface) UpdateUseCaseAvailability ¶
func (_mock *CsLPPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type CsLPPInterface
type CsLPPInterface_AddFeatures_Call ¶
CsLPPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CsLPPInterface_AddFeatures_Call) Return ¶
func (_c *CsLPPInterface_AddFeatures_Call) Return(err error) *CsLPPInterface_AddFeatures_Call
func (*CsLPPInterface_AddFeatures_Call) Run ¶
func (_c *CsLPPInterface_AddFeatures_Call) Run(run func()) *CsLPPInterface_AddFeatures_Call
func (*CsLPPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AddFeatures_Call) RunAndReturn(run func() error) *CsLPPInterface_AddFeatures_Call
type CsLPPInterface_AddUseCase_Call ¶
CsLPPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CsLPPInterface_AddUseCase_Call) Return ¶
func (_c *CsLPPInterface_AddUseCase_Call) Return() *CsLPPInterface_AddUseCase_Call
func (*CsLPPInterface_AddUseCase_Call) Run ¶
func (_c *CsLPPInterface_AddUseCase_Call) Run(run func()) *CsLPPInterface_AddUseCase_Call
func (*CsLPPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AddUseCase_Call) RunAndReturn(run func()) *CsLPPInterface_AddUseCase_Call
type CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call ¶ added in v0.8.0
CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyDeviceConfiguration'
func (*CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Run ¶ added in v0.8.0
func (_c *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
func (*CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
type CsLPPInterface_ApproveOrDenyProductionLimit_Call ¶
CsLPPInterface_ApproveOrDenyProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyProductionLimit'
func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
type CsLPPInterface_AvailableScenariosForEntity_Call ¶
CsLPPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CsLPPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
func (*CsLPPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPPInterface_AvailableScenariosForEntity_Call
func (*CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
type CsLPPInterface_Expecter ¶
type CsLPPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CsLPPInterface_Expecter) AddFeatures ¶
func (_e *CsLPPInterface_Expecter) AddFeatures() *CsLPPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) AddUseCase ¶
func (_e *CsLPPInterface_Expecter) AddUseCase() *CsLPPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ApproveOrDenyDeviceConfiguration ¶ added in v0.8.0
func (_e *CsLPPInterface_Expecter) ApproveOrDenyDeviceConfiguration(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call
ApproveOrDenyDeviceConfiguration is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPPInterface_Expecter) ApproveOrDenyProductionLimit ¶
func (_e *CsLPPInterface_Expecter) ApproveOrDenyProductionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
ApproveOrDenyProductionLimit is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CsLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CsLPPInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *CsLPPInterface_Expecter) FailsafeDurationMinimum() *CsLPPInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit ¶
func (_e *CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit() *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
FailsafeProductionActivePowerLimit is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CsLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*CsLPPInterface_Expecter) IsHeartbeatWithinDuration ¶
func (_e *CsLPPInterface_Expecter) IsHeartbeatWithinDuration() *CsLPPInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CsLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*CsLPPInterface_Expecter) PendingDeviceConfigurations ¶ added in v0.8.0
func (_e *CsLPPInterface_Expecter) PendingDeviceConfigurations() *CsLPPInterface_PendingDeviceConfigurations_Call
PendingDeviceConfigurations is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) PendingProductionLimits ¶
func (_e *CsLPPInterface_Expecter) PendingProductionLimits() *CsLPPInterface_PendingProductionLimits_Call
PendingProductionLimits is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ProductionLimit ¶
func (_e *CsLPPInterface_Expecter) ProductionLimit() *CsLPPInterface_ProductionLimit_Call
ProductionLimit is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ProductionNominalMax ¶ added in v0.6.2
func (_e *CsLPPInterface_Expecter) ProductionNominalMax() *CsLPPInterface_ProductionNominalMax_Call
ProductionNominalMax is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CsLPPInterface_Expecter) RemoteEntitiesScenarios() *CsLPPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) RemoveUseCase ¶
func (_e *CsLPPInterface_Expecter) RemoveUseCase() *CsLPPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) SetFailsafeDurationMinimum ¶
func (_e *CsLPPInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeDurationMinimum_Call
SetFailsafeDurationMinimum is a helper method to define mock.On call
- duration time.Duration
- changeable bool
func (*CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit ¶
func (_e *CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit(value interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
SetFailsafeProductionActivePowerLimit is a helper method to define mock.On call
- value float64
- changeable bool
func (*CsLPPInterface_Expecter) SetProductionLimit ¶
func (_e *CsLPPInterface_Expecter) SetProductionLimit(limit interface{}) *CsLPPInterface_SetProductionLimit_Call
SetProductionLimit is a helper method to define mock.On call
- limit api0.LoadLimit
func (*CsLPPInterface_Expecter) SetProductionNominalMax ¶ added in v0.6.2
func (_e *CsLPPInterface_Expecter) SetProductionNominalMax(value interface{}) *CsLPPInterface_SetProductionNominalMax_Call
SetProductionNominalMax is a helper method to define mock.On call
- value float64
func (*CsLPPInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *CsLPPInterface_Expecter) StartHeartbeat() *CsLPPInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *CsLPPInterface_Expecter) StopHeartbeat() *CsLPPInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CsLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CsLPPInterface_FailsafeDurationMinimum_Call ¶
CsLPPInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*CsLPPInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeDurationMinimum_Call
func (*CsLPPInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPPInterface_FailsafeDurationMinimum_Call
func (*CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPPInterface_FailsafeDurationMinimum_Call
type CsLPPInterface_FailsafeProductionActivePowerLimit_Call ¶
CsLPPInterface_FailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeProductionActivePowerLimit'
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func()) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
type CsLPPInterface_IsCompatibleEntityType_Call ¶
CsLPPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CsLPPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Return(b bool) *CsLPPInterface_IsCompatibleEntityType_Call
func (*CsLPPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *CsLPPInterface_IsCompatibleEntityType_Call
func (*CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *CsLPPInterface_IsCompatibleEntityType_Call
type CsLPPInterface_IsHeartbeatWithinDuration_Call ¶
CsLPPInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) Return ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) Run ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPPInterface_IsHeartbeatWithinDuration_Call
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
type CsLPPInterface_IsScenarioAvailableAtEntity_Call ¶
CsLPPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
type CsLPPInterface_PendingDeviceConfigurations_Call ¶ added in v0.8.0
CsLPPInterface_PendingDeviceConfigurations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingDeviceConfigurations'
func (*CsLPPInterface_PendingDeviceConfigurations_Call) Return ¶ added in v0.8.0
func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) Return(msgCounterTypeToPendingDeviceConfigurations map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPPInterface_PendingDeviceConfigurations_Call
func (*CsLPPInterface_PendingDeviceConfigurations_Call) Run ¶ added in v0.8.0
func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) Run(run func()) *CsLPPInterface_PendingDeviceConfigurations_Call
func (*CsLPPInterface_PendingDeviceConfigurations_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPPInterface_PendingDeviceConfigurations_Call) RunAndReturn(run func() map[model.MsgCounterType][]api0.PendingDeviceConfiguration) *CsLPPInterface_PendingDeviceConfigurations_Call
type CsLPPInterface_PendingProductionLimits_Call ¶
CsLPPInterface_PendingProductionLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingProductionLimits'
func (*CsLPPInterface_PendingProductionLimits_Call) Return ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) Return(msgCounterTypeToLoadLimit map[model.MsgCounterType]api0.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
func (*CsLPPInterface_PendingProductionLimits_Call) Run ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) Run(run func()) *CsLPPInterface_PendingProductionLimits_Call
func (*CsLPPInterface_PendingProductionLimits_Call) RunAndReturn ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api0.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
type CsLPPInterface_ProductionLimit_Call ¶
CsLPPInterface_ProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionLimit'
func (*CsLPPInterface_ProductionLimit_Call) Return ¶
func (_c *CsLPPInterface_ProductionLimit_Call) Return(loadLimit api0.LoadLimit, err error) *CsLPPInterface_ProductionLimit_Call
func (*CsLPPInterface_ProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_ProductionLimit_Call) Run(run func()) *CsLPPInterface_ProductionLimit_Call
func (*CsLPPInterface_ProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_ProductionLimit_Call) RunAndReturn(run func() (api0.LoadLimit, error)) *CsLPPInterface_ProductionLimit_Call
type CsLPPInterface_ProductionNominalMax_Call ¶ added in v0.6.2
CsLPPInterface_ProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionNominalMax'
func (*CsLPPInterface_ProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) Return(f float64, err error) *CsLPPInterface_ProductionNominalMax_Call
func (*CsLPPInterface_ProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) Run(run func()) *CsLPPInterface_ProductionNominalMax_Call
func (*CsLPPInterface_ProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPPInterface_ProductionNominalMax_Call
type CsLPPInterface_RemoteEntitiesScenarios_Call ¶
CsLPPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CsLPPInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
func (*CsLPPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPPInterface_RemoteEntitiesScenarios_Call
func (*CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
type CsLPPInterface_RemoveUseCase_Call ¶
CsLPPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CsLPPInterface_RemoveUseCase_Call) Return ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) Return() *CsLPPInterface_RemoveUseCase_Call
func (*CsLPPInterface_RemoveUseCase_Call) Run ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) Run(run func()) *CsLPPInterface_RemoveUseCase_Call
func (*CsLPPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CsLPPInterface_RemoveUseCase_Call
type CsLPPInterface_SetFailsafeDurationMinimum_Call ¶
CsLPPInterface_SetFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeDurationMinimum'
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPPInterface_SetFailsafeDurationMinimum_Call
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(duration time.Duration, changeable bool) error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
type CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call ¶
CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeProductionActivePowerLimit'
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(value float64, changeable bool) error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
type CsLPPInterface_SetProductionLimit_Call ¶
CsLPPInterface_SetProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProductionLimit'
func (*CsLPPInterface_SetProductionLimit_Call) Return ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) Return(resultErr error) *CsLPPInterface_SetProductionLimit_Call
func (*CsLPPInterface_SetProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) Run(run func(limit api0.LoadLimit)) *CsLPPInterface_SetProductionLimit_Call
func (*CsLPPInterface_SetProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) RunAndReturn(run func(limit api0.LoadLimit) error) *CsLPPInterface_SetProductionLimit_Call
type CsLPPInterface_SetProductionNominalMax_Call ¶ added in v0.6.2
CsLPPInterface_SetProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProductionNominalMax'
func (*CsLPPInterface_SetProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) Return(resultErr error) *CsLPPInterface_SetProductionNominalMax_Call
func (*CsLPPInterface_SetProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) Run(run func(value float64)) *CsLPPInterface_SetProductionNominalMax_Call
func (*CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn(run func(value float64) error) *CsLPPInterface_SetProductionNominalMax_Call
type CsLPPInterface_StartHeartbeat_Call ¶ added in v0.8.0
CsLPPInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*CsLPPInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CsLPPInterface_StartHeartbeat_Call) Return() *CsLPPInterface_StartHeartbeat_Call
func (*CsLPPInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CsLPPInterface_StartHeartbeat_Call) Run(run func()) *CsLPPInterface_StartHeartbeat_Call
func (*CsLPPInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPPInterface_StartHeartbeat_Call) RunAndReturn(run func()) *CsLPPInterface_StartHeartbeat_Call
type CsLPPInterface_StopHeartbeat_Call ¶ added in v0.8.0
CsLPPInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*CsLPPInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *CsLPPInterface_StopHeartbeat_Call) Return() *CsLPPInterface_StopHeartbeat_Call
func (*CsLPPInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *CsLPPInterface_StopHeartbeat_Call) Run(run func()) *CsLPPInterface_StopHeartbeat_Call
func (*CsLPPInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *CsLPPInterface_StopHeartbeat_Call) RunAndReturn(run func()) *CsLPPInterface_StopHeartbeat_Call
type CsLPPInterface_UpdateUseCaseAvailability_Call ¶
CsLPPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CsLPPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
func (*CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
type EgLPCInterface ¶
EgLPCInterface is an autogenerated mock type for the EgLPCInterface type
func NewEgLPCInterface ¶
func NewEgLPCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *EgLPCInterface
NewEgLPCInterface creates a new instance of EgLPCInterface. 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 (*EgLPCInterface) AddFeatures ¶
func (_mock *EgLPCInterface) AddFeatures() error
AddFeatures provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) AddUseCase ¶
func (_mock *EgLPCInterface) AddUseCase()
AddUseCase provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) AvailableScenariosForEntity ¶
func (_mock *EgLPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) ConsumptionLimit ¶
func (_mock *EgLPCInterface) ConsumptionLimit(entity api.EntityRemoteInterface) (api0.LoadLimit, error)
ConsumptionLimit provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) ConsumptionNominalMax ¶ added in v0.6.2
func (_mock *EgLPCInterface) ConsumptionNominalMax(entity api.EntityRemoteInterface) (float64, error)
ConsumptionNominalMax provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) EXPECT ¶
func (_m *EgLPCInterface) EXPECT() *EgLPCInterface_Expecter
func (*EgLPCInterface) FailsafeConsumptionActivePowerLimit ¶
func (_mock *EgLPCInterface) FailsafeConsumptionActivePowerLimit(entity api.EntityRemoteInterface) (float64, error)
FailsafeConsumptionActivePowerLimit provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) FailsafeDurationMinimum ¶
func (_mock *EgLPCInterface) FailsafeDurationMinimum(entity api.EntityRemoteInterface) (time.Duration, error)
FailsafeDurationMinimum provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) IsCompatibleEntityType ¶
func (_mock *EgLPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) IsHeartbeatWithinDuration ¶ added in v0.8.0
func (_mock *EgLPCInterface) IsHeartbeatWithinDuration(entity api.EntityRemoteInterface) bool
IsHeartbeatWithinDuration provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *EgLPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) RemoteEntitiesScenarios ¶
func (_mock *EgLPCInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) RemoveUseCase ¶
func (_mock *EgLPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *EgLPCInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *EgLPCInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) UpdateUseCaseAvailability ¶
func (_mock *EgLPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) WriteConsumptionLimit ¶
func (_mock *EgLPCInterface) WriteConsumptionLimit(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)
WriteConsumptionLimit provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit ¶
func (_mock *EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
WriteFailsafeConsumptionActivePowerLimit provides a mock function for the type EgLPCInterface
func (*EgLPCInterface) WriteFailsafeDurationMinimum ¶
func (_mock *EgLPCInterface) WriteFailsafeDurationMinimum(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
WriteFailsafeDurationMinimum provides a mock function for the type EgLPCInterface
type EgLPCInterface_AddFeatures_Call ¶
EgLPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*EgLPCInterface_AddFeatures_Call) Return ¶
func (_c *EgLPCInterface_AddFeatures_Call) Return(err error) *EgLPCInterface_AddFeatures_Call
func (*EgLPCInterface_AddFeatures_Call) Run ¶
func (_c *EgLPCInterface_AddFeatures_Call) Run(run func()) *EgLPCInterface_AddFeatures_Call
func (*EgLPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AddFeatures_Call) RunAndReturn(run func() error) *EgLPCInterface_AddFeatures_Call
type EgLPCInterface_AddUseCase_Call ¶
EgLPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*EgLPCInterface_AddUseCase_Call) Return ¶
func (_c *EgLPCInterface_AddUseCase_Call) Return() *EgLPCInterface_AddUseCase_Call
func (*EgLPCInterface_AddUseCase_Call) Run ¶
func (_c *EgLPCInterface_AddUseCase_Call) Run(run func()) *EgLPCInterface_AddUseCase_Call
func (*EgLPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPCInterface_AddUseCase_Call
type EgLPCInterface_AvailableScenariosForEntity_Call ¶
EgLPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*EgLPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
func (*EgLPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_AvailableScenariosForEntity_Call
func (*EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
type EgLPCInterface_ConsumptionLimit_Call ¶
EgLPCInterface_ConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionLimit'
func (*EgLPCInterface_ConsumptionLimit_Call) Return ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) Return(limit api0.LoadLimit, resultErr error) *EgLPCInterface_ConsumptionLimit_Call
func (*EgLPCInterface_ConsumptionLimit_Call) Run ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_ConsumptionLimit_Call
func (*EgLPCInterface_ConsumptionLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.LoadLimit, error)) *EgLPCInterface_ConsumptionLimit_Call
type EgLPCInterface_ConsumptionNominalMax_Call ¶ added in v0.6.2
EgLPCInterface_ConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionNominalMax'
func (*EgLPCInterface_ConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Return(f float64, err error) *EgLPCInterface_ConsumptionNominalMax_Call
func (*EgLPCInterface_ConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_ConsumptionNominalMax_Call
func (*EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPCInterface_ConsumptionNominalMax_Call
type EgLPCInterface_Expecter ¶
type EgLPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EgLPCInterface_Expecter) AddFeatures ¶
func (_e *EgLPCInterface_Expecter) AddFeatures() *EgLPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) AddUseCase ¶
func (_e *EgLPCInterface_Expecter) AddUseCase() *EgLPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *EgLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) ConsumptionLimit ¶
func (_e *EgLPCInterface_Expecter) ConsumptionLimit(entity interface{}) *EgLPCInterface_ConsumptionLimit_Call
ConsumptionLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) ConsumptionNominalMax ¶ added in v0.6.2
func (_e *EgLPCInterface_Expecter) ConsumptionNominalMax(entity interface{}) *EgLPCInterface_ConsumptionNominalMax_Call
ConsumptionNominalMax is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit ¶
func (_e *EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit(entity interface{}) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
FailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *EgLPCInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPCInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *EgLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) IsHeartbeatWithinDuration ¶ added in v0.8.0
func (_e *EgLPCInterface_Expecter) IsHeartbeatWithinDuration(entity interface{}) *EgLPCInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *EgLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*EgLPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *EgLPCInterface_Expecter) RemoteEntitiesScenarios() *EgLPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) RemoveUseCase ¶
func (_e *EgLPCInterface_Expecter) RemoveUseCase() *EgLPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *EgLPCInterface_Expecter) StartHeartbeat() *EgLPCInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *EgLPCInterface_Expecter) StopHeartbeat() *EgLPCInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *EgLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*EgLPCInterface_Expecter) WriteConsumptionLimit ¶
func (_e *EgLPCInterface_Expecter) WriteConsumptionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPCInterface_WriteConsumptionLimit_Call
WriteConsumptionLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- limit api0.LoadLimit
- resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)
func (*EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit ¶
func (_e *EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit(entity interface{}, value interface{}) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
WriteFailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- value float64
func (*EgLPCInterface_Expecter) WriteFailsafeDurationMinimum ¶
func (_e *EgLPCInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
WriteFailsafeDurationMinimum is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- duration time.Duration
type EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call ¶
EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeConsumptionActivePowerLimit'
func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
type EgLPCInterface_FailsafeDurationMinimum_Call ¶
EgLPCInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*EgLPCInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, err error) *EgLPCInterface_FailsafeDurationMinimum_Call
func (*EgLPCInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_FailsafeDurationMinimum_Call
func (*EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *EgLPCInterface_FailsafeDurationMinimum_Call
type EgLPCInterface_IsCompatibleEntityType_Call ¶
EgLPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*EgLPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Return(b bool) *EgLPCInterface_IsCompatibleEntityType_Call
func (*EgLPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_IsCompatibleEntityType_Call
func (*EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPCInterface_IsCompatibleEntityType_Call
type EgLPCInterface_IsHeartbeatWithinDuration_Call ¶ added in v0.8.0
EgLPCInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*EgLPCInterface_IsHeartbeatWithinDuration_Call) Return ¶ added in v0.8.0
func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *EgLPCInterface_IsHeartbeatWithinDuration_Call
func (*EgLPCInterface_IsHeartbeatWithinDuration_Call) Run ¶ added in v0.8.0
func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPCInterface_IsHeartbeatWithinDuration_Call
func (*EgLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPCInterface_IsHeartbeatWithinDuration_Call
type EgLPCInterface_IsScenarioAvailableAtEntity_Call ¶
EgLPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
type EgLPCInterface_RemoteEntitiesScenarios_Call ¶
EgLPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*EgLPCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
func (*EgLPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPCInterface_RemoteEntitiesScenarios_Call
func (*EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
type EgLPCInterface_RemoveUseCase_Call ¶
EgLPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*EgLPCInterface_RemoveUseCase_Call) Return ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) Return() *EgLPCInterface_RemoveUseCase_Call
func (*EgLPCInterface_RemoveUseCase_Call) Run ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) Run(run func()) *EgLPCInterface_RemoveUseCase_Call
func (*EgLPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *EgLPCInterface_RemoveUseCase_Call
type EgLPCInterface_StartHeartbeat_Call ¶ added in v0.8.0
EgLPCInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*EgLPCInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *EgLPCInterface_StartHeartbeat_Call) Return() *EgLPCInterface_StartHeartbeat_Call
func (*EgLPCInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *EgLPCInterface_StartHeartbeat_Call) Run(run func()) *EgLPCInterface_StartHeartbeat_Call
func (*EgLPCInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPCInterface_StartHeartbeat_Call) RunAndReturn(run func()) *EgLPCInterface_StartHeartbeat_Call
type EgLPCInterface_StopHeartbeat_Call ¶ added in v0.8.0
EgLPCInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*EgLPCInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *EgLPCInterface_StopHeartbeat_Call) Return() *EgLPCInterface_StopHeartbeat_Call
func (*EgLPCInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *EgLPCInterface_StopHeartbeat_Call) Run(run func()) *EgLPCInterface_StopHeartbeat_Call
func (*EgLPCInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPCInterface_StopHeartbeat_Call) RunAndReturn(run func()) *EgLPCInterface_StopHeartbeat_Call
type EgLPCInterface_UpdateUseCaseAvailability_Call ¶
EgLPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*EgLPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
func (*EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
type EgLPCInterface_WriteConsumptionLimit_Call ¶
EgLPCInterface_WriteConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteConsumptionLimit'
func (*EgLPCInterface_WriteConsumptionLimit_Call) Return ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteConsumptionLimit_Call
func (*EgLPCInterface_WriteConsumptionLimit_Call) Run ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Run(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType))) *EgLPCInterface_WriteConsumptionLimit_Call
func (*EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)) *EgLPCInterface_WriteConsumptionLimit_Call
type EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call ¶
EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeConsumptionActivePowerLimit'
func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface, value float64)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
type EgLPCInterface_WriteFailsafeDurationMinimum_Call ¶
EgLPCInterface_WriteFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeDurationMinimum'
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface, duration time.Duration)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
type EgLPPInterface ¶
EgLPPInterface is an autogenerated mock type for the EgLPPInterface type
func NewEgLPPInterface ¶
func NewEgLPPInterface(t interface {
mock.TestingT
Cleanup(func())
}) *EgLPPInterface
NewEgLPPInterface creates a new instance of EgLPPInterface. 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 (*EgLPPInterface) AddFeatures ¶
func (_mock *EgLPPInterface) AddFeatures() error
AddFeatures provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) AddUseCase ¶
func (_mock *EgLPPInterface) AddUseCase()
AddUseCase provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) AvailableScenariosForEntity ¶
func (_mock *EgLPPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) EXPECT ¶
func (_m *EgLPPInterface) EXPECT() *EgLPPInterface_Expecter
func (*EgLPPInterface) FailsafeDurationMinimum ¶
func (_mock *EgLPPInterface) FailsafeDurationMinimum(entity api.EntityRemoteInterface) (time.Duration, error)
FailsafeDurationMinimum provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) FailsafeProductionActivePowerLimit ¶
func (_mock *EgLPPInterface) FailsafeProductionActivePowerLimit(entity api.EntityRemoteInterface) (float64, error)
FailsafeProductionActivePowerLimit provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) IsCompatibleEntityType ¶
func (_mock *EgLPPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) IsHeartbeatWithinDuration ¶ added in v0.8.0
func (_mock *EgLPPInterface) IsHeartbeatWithinDuration(entity api.EntityRemoteInterface) bool
IsHeartbeatWithinDuration provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) IsScenarioAvailableAtEntity ¶
func (_mock *EgLPPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) ProductionLimit ¶
func (_mock *EgLPPInterface) ProductionLimit(entity api.EntityRemoteInterface) (api0.LoadLimit, error)
ProductionLimit provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) ProductionNominalMax ¶ added in v0.6.2
func (_mock *EgLPPInterface) ProductionNominalMax(entity api.EntityRemoteInterface) (float64, error)
ProductionNominalMax provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) RemoteEntitiesScenarios ¶
func (_mock *EgLPPInterface) RemoteEntitiesScenarios() []api1.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) RemoveUseCase ¶
func (_mock *EgLPPInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) StartHeartbeat ¶ added in v0.8.0
func (_mock *EgLPPInterface) StartHeartbeat()
StartHeartbeat provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) StopHeartbeat ¶ added in v0.8.0
func (_mock *EgLPPInterface) StopHeartbeat()
StopHeartbeat provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) UpdateUseCaseAvailability ¶
func (_mock *EgLPPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) WriteFailsafeDurationMinimum ¶
func (_mock *EgLPPInterface) WriteFailsafeDurationMinimum(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
WriteFailsafeDurationMinimum provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) WriteFailsafeProductionActivePowerLimit ¶
func (_mock *EgLPPInterface) WriteFailsafeProductionActivePowerLimit(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
WriteFailsafeProductionActivePowerLimit provides a mock function for the type EgLPPInterface
func (*EgLPPInterface) WriteProductionLimit ¶
func (_mock *EgLPPInterface) WriteProductionLimit(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)
WriteProductionLimit provides a mock function for the type EgLPPInterface
type EgLPPInterface_AddFeatures_Call ¶
EgLPPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*EgLPPInterface_AddFeatures_Call) Return ¶
func (_c *EgLPPInterface_AddFeatures_Call) Return(err error) *EgLPPInterface_AddFeatures_Call
func (*EgLPPInterface_AddFeatures_Call) Run ¶
func (_c *EgLPPInterface_AddFeatures_Call) Run(run func()) *EgLPPInterface_AddFeatures_Call
func (*EgLPPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AddFeatures_Call) RunAndReturn(run func() error) *EgLPPInterface_AddFeatures_Call
type EgLPPInterface_AddUseCase_Call ¶
EgLPPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*EgLPPInterface_AddUseCase_Call) Return ¶
func (_c *EgLPPInterface_AddUseCase_Call) Return() *EgLPPInterface_AddUseCase_Call
func (*EgLPPInterface_AddUseCase_Call) Run ¶
func (_c *EgLPPInterface_AddUseCase_Call) Run(run func()) *EgLPPInterface_AddUseCase_Call
func (*EgLPPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPPInterface_AddUseCase_Call
type EgLPPInterface_AvailableScenariosForEntity_Call ¶
EgLPPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*EgLPPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
func (*EgLPPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_AvailableScenariosForEntity_Call
func (*EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
type EgLPPInterface_Expecter ¶
type EgLPPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EgLPPInterface_Expecter) AddFeatures ¶
func (_e *EgLPPInterface_Expecter) AddFeatures() *EgLPPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) AddUseCase ¶
func (_e *EgLPPInterface_Expecter) AddUseCase() *EgLPPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *EgLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *EgLPPInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPPInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit ¶
func (_e *EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit(entity interface{}) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
FailsafeProductionActivePowerLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *EgLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) IsHeartbeatWithinDuration ¶ added in v0.8.0
func (_e *EgLPPInterface_Expecter) IsHeartbeatWithinDuration(entity interface{}) *EgLPPInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *EgLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*EgLPPInterface_Expecter) ProductionLimit ¶
func (_e *EgLPPInterface_Expecter) ProductionLimit(entity interface{}) *EgLPPInterface_ProductionLimit_Call
ProductionLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) ProductionNominalMax ¶ added in v0.6.2
func (_e *EgLPPInterface_Expecter) ProductionNominalMax(entity interface{}) *EgLPPInterface_ProductionNominalMax_Call
ProductionNominalMax is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*EgLPPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *EgLPPInterface_Expecter) RemoteEntitiesScenarios() *EgLPPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) RemoveUseCase ¶
func (_e *EgLPPInterface_Expecter) RemoveUseCase() *EgLPPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) StartHeartbeat ¶ added in v0.8.0
func (_e *EgLPPInterface_Expecter) StartHeartbeat() *EgLPPInterface_StartHeartbeat_Call
StartHeartbeat is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) StopHeartbeat ¶ added in v0.8.0
func (_e *EgLPPInterface_Expecter) StopHeartbeat() *EgLPPInterface_StopHeartbeat_Call
StopHeartbeat is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *EgLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*EgLPPInterface_Expecter) WriteFailsafeDurationMinimum ¶
func (_e *EgLPPInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
WriteFailsafeDurationMinimum is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- duration time.Duration
func (*EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit ¶
func (_e *EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit(entity interface{}, value interface{}) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
WriteFailsafeProductionActivePowerLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- value float64
func (*EgLPPInterface_Expecter) WriteProductionLimit ¶
func (_e *EgLPPInterface_Expecter) WriteProductionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPPInterface_WriteProductionLimit_Call
WriteProductionLimit is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- limit api0.LoadLimit
- resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)
type EgLPPInterface_FailsafeDurationMinimum_Call ¶
EgLPPInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*EgLPPInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, err error) *EgLPPInterface_FailsafeDurationMinimum_Call
func (*EgLPPInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_FailsafeDurationMinimum_Call
func (*EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (time.Duration, error)) *EgLPPInterface_FailsafeDurationMinimum_Call
type EgLPPInterface_FailsafeProductionActivePowerLimit_Call ¶
EgLPPInterface_FailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeProductionActivePowerLimit'
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(f float64, err error) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
type EgLPPInterface_IsCompatibleEntityType_Call ¶
EgLPPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*EgLPPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Return(b bool) *EgLPPInterface_IsCompatibleEntityType_Call
func (*EgLPPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_IsCompatibleEntityType_Call
func (*EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPPInterface_IsCompatibleEntityType_Call
type EgLPPInterface_IsHeartbeatWithinDuration_Call ¶ added in v0.8.0
EgLPPInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*EgLPPInterface_IsHeartbeatWithinDuration_Call) Return ¶ added in v0.8.0
func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) Return(b bool) *EgLPPInterface_IsHeartbeatWithinDuration_Call
func (*EgLPPInterface_IsHeartbeatWithinDuration_Call) Run ¶ added in v0.8.0
func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_IsHeartbeatWithinDuration_Call
func (*EgLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *EgLPPInterface_IsHeartbeatWithinDuration_Call
type EgLPPInterface_IsScenarioAvailableAtEntity_Call ¶
EgLPPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
type EgLPPInterface_ProductionLimit_Call ¶
EgLPPInterface_ProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionLimit'
func (*EgLPPInterface_ProductionLimit_Call) Return ¶
func (_c *EgLPPInterface_ProductionLimit_Call) Return(limit api0.LoadLimit, resultErr error) *EgLPPInterface_ProductionLimit_Call
func (*EgLPPInterface_ProductionLimit_Call) Run ¶
func (_c *EgLPPInterface_ProductionLimit_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_ProductionLimit_Call
func (*EgLPPInterface_ProductionLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_ProductionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (api0.LoadLimit, error)) *EgLPPInterface_ProductionLimit_Call
type EgLPPInterface_ProductionNominalMax_Call ¶ added in v0.6.2
EgLPPInterface_ProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionNominalMax'
func (*EgLPPInterface_ProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) Return(f float64, err error) *EgLPPInterface_ProductionNominalMax_Call
func (*EgLPPInterface_ProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) Run(run func(entity api.EntityRemoteInterface)) *EgLPPInterface_ProductionNominalMax_Call
func (*EgLPPInterface_ProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *EgLPPInterface_ProductionNominalMax_Call
type EgLPPInterface_RemoteEntitiesScenarios_Call ¶
EgLPPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*EgLPPInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api1.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
func (*EgLPPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPPInterface_RemoteEntitiesScenarios_Call
func (*EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api1.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
type EgLPPInterface_RemoveUseCase_Call ¶
EgLPPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*EgLPPInterface_RemoveUseCase_Call) Return ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) Return() *EgLPPInterface_RemoveUseCase_Call
func (*EgLPPInterface_RemoveUseCase_Call) Run ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) Run(run func()) *EgLPPInterface_RemoveUseCase_Call
func (*EgLPPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *EgLPPInterface_RemoveUseCase_Call
type EgLPPInterface_StartHeartbeat_Call ¶ added in v0.8.0
EgLPPInterface_StartHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartHeartbeat'
func (*EgLPPInterface_StartHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *EgLPPInterface_StartHeartbeat_Call) Return() *EgLPPInterface_StartHeartbeat_Call
func (*EgLPPInterface_StartHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *EgLPPInterface_StartHeartbeat_Call) Run(run func()) *EgLPPInterface_StartHeartbeat_Call
func (*EgLPPInterface_StartHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPPInterface_StartHeartbeat_Call) RunAndReturn(run func()) *EgLPPInterface_StartHeartbeat_Call
type EgLPPInterface_StopHeartbeat_Call ¶ added in v0.8.0
EgLPPInterface_StopHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopHeartbeat'
func (*EgLPPInterface_StopHeartbeat_Call) Return ¶ added in v0.8.0
func (_c *EgLPPInterface_StopHeartbeat_Call) Return() *EgLPPInterface_StopHeartbeat_Call
func (*EgLPPInterface_StopHeartbeat_Call) Run ¶ added in v0.8.0
func (_c *EgLPPInterface_StopHeartbeat_Call) Run(run func()) *EgLPPInterface_StopHeartbeat_Call
func (*EgLPPInterface_StopHeartbeat_Call) RunAndReturn ¶ added in v0.8.0
func (_c *EgLPPInterface_StopHeartbeat_Call) RunAndReturn(run func()) *EgLPPInterface_StopHeartbeat_Call
type EgLPPInterface_UpdateUseCaseAvailability_Call ¶
EgLPPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*EgLPPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
func (*EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
type EgLPPInterface_WriteFailsafeDurationMinimum_Call ¶
EgLPPInterface_WriteFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeDurationMinimum'
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity api.EntityRemoteInterface, duration time.Duration)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
type EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call ¶
EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeProductionActivePowerLimit'
func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run(run func(entity api.EntityRemoteInterface, value float64)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
type EgLPPInterface_WriteProductionLimit_Call ¶
EgLPPInterface_WriteProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteProductionLimit'
func (*EgLPPInterface_WriteProductionLimit_Call) Return ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) Return(msgCounterType *model.MsgCounterType, err error) *EgLPPInterface_WriteProductionLimit_Call
func (*EgLPPInterface_WriteProductionLimit_Call) Run ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) Run(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType))) *EgLPPInterface_WriteProductionLimit_Call
func (*EgLPPInterface_WriteProductionLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, limit api0.LoadLimit, resultCB func(result model.ResultDataType, msgCounter model.MsgCounterType)) (*model.MsgCounterType, error)) *EgLPPInterface_WriteProductionLimit_Call
type GcpMGCPInterface ¶
GcpMGCPInterface is an autogenerated mock type for the GcpMGCPInterface type
func NewGcpMGCPInterface ¶
func NewGcpMGCPInterface(t interface {
mock.TestingT
Cleanup(func())
}) *GcpMGCPInterface
NewGcpMGCPInterface creates a new instance of GcpMGCPInterface. 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 (*GcpMGCPInterface) AddFeatures ¶
func (_mock *GcpMGCPInterface) AddFeatures() error
AddFeatures provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) AddUseCase ¶
func (_mock *GcpMGCPInterface) AddUseCase()
AddUseCase provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) AvailableScenariosForEntity ¶
func (_mock *GcpMGCPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) CurrentPerPhase ¶
func (_mock *GcpMGCPInterface) CurrentPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentPerPhase provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) EXPECT ¶
func (_m *GcpMGCPInterface) EXPECT() *GcpMGCPInterface_Expecter
func (*GcpMGCPInterface) EnergyConsumed ¶
func (_mock *GcpMGCPInterface) EnergyConsumed() (float64, error)
EnergyConsumed provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) EnergyFeedIn ¶
func (_mock *GcpMGCPInterface) EnergyFeedIn() (float64, error)
EnergyFeedIn provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) Frequency ¶
func (_mock *GcpMGCPInterface) Frequency() (float64, error)
Frequency provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) IsCompatibleEntityType ¶
func (_mock *GcpMGCPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) IsScenarioAvailableAtEntity ¶
func (_mock *GcpMGCPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) PowerLimitationFactor ¶
func (_mock *GcpMGCPInterface) PowerLimitationFactor() (float64, error)
PowerLimitationFactor provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) PowerTotal ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) PowerTotal() (float64, error)
PowerTotal provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) RemoteEntitiesScenarios ¶
func (_mock *GcpMGCPInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) RemoveUseCase ¶
func (_mock *GcpMGCPInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) Update ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) Update(updateValueTypes ...api1.UpdateData) error
Update provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataCurrentPhaseA ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataCurrentPhaseA provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataCurrentPhaseB ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataCurrentPhaseB provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataCurrentPhaseC ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataCurrentPhaseC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataCurrentPhaseC provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataEnergyConsumed ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataEnergyConsumed(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time) api1.UpdateData
UpdateDataEnergyConsumed provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataEnergyFeedIn ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataEnergyFeedIn(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time) api1.UpdateData
UpdateDataEnergyFeedIn provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataFrequency ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataFrequency(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataFrequency provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataPowerLimitationFactor ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataPowerLimitationFactor(value float64) api1.UpdateData
UpdateDataPowerLimitationFactor provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataPowerTotal ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataPowerTotal(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataPowerTotal provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseA ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseA provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseAToB ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseAToB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseAToB provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseB ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseB provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseBToC ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseBToC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseBToC provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseC ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseC provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateDataVoltagePhaseCToA ¶ added in v0.8.0
func (_mock *GcpMGCPInterface) UpdateDataVoltagePhaseCToA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData
UpdateDataVoltagePhaseCToA provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) UpdateUseCaseAvailability ¶
func (_mock *GcpMGCPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type GcpMGCPInterface
func (*GcpMGCPInterface) VoltagePerPhase ¶
func (_mock *GcpMGCPInterface) VoltagePerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
VoltagePerPhase provides a mock function for the type GcpMGCPInterface
type GcpMGCPInterface_AddFeatures_Call ¶
GcpMGCPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*GcpMGCPInterface_AddFeatures_Call) Return ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) Return(err error) *GcpMGCPInterface_AddFeatures_Call
func (*GcpMGCPInterface_AddFeatures_Call) Run ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) Run(run func()) *GcpMGCPInterface_AddFeatures_Call
func (*GcpMGCPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) RunAndReturn(run func() error) *GcpMGCPInterface_AddFeatures_Call
type GcpMGCPInterface_AddUseCase_Call ¶
GcpMGCPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*GcpMGCPInterface_AddUseCase_Call) Return ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) Return() *GcpMGCPInterface_AddUseCase_Call
func (*GcpMGCPInterface_AddUseCase_Call) Run ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) Run(run func()) *GcpMGCPInterface_AddUseCase_Call
func (*GcpMGCPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_AddUseCase_Call
type GcpMGCPInterface_AvailableScenariosForEntity_Call ¶
GcpMGCPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *GcpMGCPInterface_AvailableScenariosForEntity_Call
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
type GcpMGCPInterface_CurrentPerPhase_Call ¶
GcpMGCPInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*GcpMGCPInterface_CurrentPerPhase_Call) Return ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *GcpMGCPInterface_CurrentPerPhase_Call
func (*GcpMGCPInterface_CurrentPerPhase_Call) Run ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Run(run func()) *GcpMGCPInterface_CurrentPerPhase_Call
func (*GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *GcpMGCPInterface_CurrentPerPhase_Call
type GcpMGCPInterface_EnergyConsumed_Call ¶
GcpMGCPInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*GcpMGCPInterface_EnergyConsumed_Call) Return ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) Return(f float64, err error) *GcpMGCPInterface_EnergyConsumed_Call
func (*GcpMGCPInterface_EnergyConsumed_Call) Run ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) Run(run func()) *GcpMGCPInterface_EnergyConsumed_Call
func (*GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_EnergyConsumed_Call
type GcpMGCPInterface_EnergyFeedIn_Call ¶
GcpMGCPInterface_EnergyFeedIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyFeedIn'
func (*GcpMGCPInterface_EnergyFeedIn_Call) Return ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Return(f float64, err error) *GcpMGCPInterface_EnergyFeedIn_Call
func (*GcpMGCPInterface_EnergyFeedIn_Call) Run ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Run(run func()) *GcpMGCPInterface_EnergyFeedIn_Call
func (*GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_EnergyFeedIn_Call
type GcpMGCPInterface_Expecter ¶
type GcpMGCPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*GcpMGCPInterface_Expecter) AddFeatures ¶
func (_e *GcpMGCPInterface_Expecter) AddFeatures() *GcpMGCPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) AddUseCase ¶
func (_e *GcpMGCPInterface_Expecter) AddUseCase() *GcpMGCPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *GcpMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *GcpMGCPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) CurrentPerPhase ¶
func (_e *GcpMGCPInterface_Expecter) CurrentPerPhase() *GcpMGCPInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) EnergyConsumed ¶
func (_e *GcpMGCPInterface_Expecter) EnergyConsumed() *GcpMGCPInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) EnergyFeedIn ¶
func (_e *GcpMGCPInterface_Expecter) EnergyFeedIn() *GcpMGCPInterface_EnergyFeedIn_Call
EnergyFeedIn is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) Frequency ¶
func (_e *GcpMGCPInterface_Expecter) Frequency() *GcpMGCPInterface_Frequency_Call
Frequency is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *GcpMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *GcpMGCPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*GcpMGCPInterface_Expecter) PowerLimitationFactor ¶
func (_e *GcpMGCPInterface_Expecter) PowerLimitationFactor() *GcpMGCPInterface_PowerLimitationFactor_Call
PowerLimitationFactor is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) PowerTotal ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) PowerTotal() *GcpMGCPInterface_PowerTotal_Call
PowerTotal is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *GcpMGCPInterface_Expecter) RemoteEntitiesScenarios() *GcpMGCPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) RemoveUseCase ¶
func (_e *GcpMGCPInterface_Expecter) RemoveUseCase() *GcpMGCPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) Update ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) Update(updateValueTypes ...interface{}) *GcpMGCPInterface_Update_Call
Update is a helper method to define mock.On call
- updateValueTypes ...api1.UpdateData
func (*GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseA ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
UpdateDataCurrentPhaseA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseB ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
UpdateDataCurrentPhaseB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseC ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataCurrentPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
UpdateDataCurrentPhaseC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataEnergyConsumed ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataEnergyConsumed(value interface{}, timestamp interface{}, valueState interface{}, evaluationPeriodStart interface{}, evaluationPeriodEnd interface{}) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
UpdateDataEnergyConsumed is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
- evaluationPeriodStart *time.Time
- evaluationPeriodEnd *time.Time
func (*GcpMGCPInterface_Expecter) UpdateDataEnergyFeedIn ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataEnergyFeedIn(value interface{}, timestamp interface{}, valueState interface{}, evaluationPeriodStart interface{}, evaluationPeriodEnd interface{}) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
UpdateDataEnergyFeedIn is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
- evaluationPeriodStart *time.Time
- evaluationPeriodEnd *time.Time
func (*GcpMGCPInterface_Expecter) UpdateDataFrequency ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataFrequency(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataFrequency_Call
UpdateDataFrequency is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataPowerLimitationFactor ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataPowerLimitationFactor(value interface{}) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
UpdateDataPowerLimitationFactor is a helper method to define mock.On call
- value float64
func (*GcpMGCPInterface_Expecter) UpdateDataPowerTotal ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataPowerTotal(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataPowerTotal_Call
UpdateDataPowerTotal is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseA ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
UpdateDataVoltagePhaseA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseAToB ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseAToB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
UpdateDataVoltagePhaseAToB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseB ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseB(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
UpdateDataVoltagePhaseB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseBToC ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseBToC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
UpdateDataVoltagePhaseBToC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseC ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseC(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
UpdateDataVoltagePhaseC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseCToA ¶ added in v0.8.0
func (_e *GcpMGCPInterface_Expecter) UpdateDataVoltagePhaseCToA(value interface{}, timestamp interface{}, valueState interface{}) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
UpdateDataVoltagePhaseCToA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*GcpMGCPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *GcpMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*GcpMGCPInterface_Expecter) VoltagePerPhase ¶
func (_e *GcpMGCPInterface_Expecter) VoltagePerPhase() *GcpMGCPInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
type GcpMGCPInterface_Frequency_Call ¶
GcpMGCPInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*GcpMGCPInterface_Frequency_Call) Return ¶
func (_c *GcpMGCPInterface_Frequency_Call) Return(f float64, err error) *GcpMGCPInterface_Frequency_Call
func (*GcpMGCPInterface_Frequency_Call) Run ¶
func (_c *GcpMGCPInterface_Frequency_Call) Run(run func()) *GcpMGCPInterface_Frequency_Call
func (*GcpMGCPInterface_Frequency_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_Frequency_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_Frequency_Call
type GcpMGCPInterface_IsCompatibleEntityType_Call ¶
GcpMGCPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Return(b bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *GcpMGCPInterface_IsCompatibleEntityType_Call
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call ¶
GcpMGCPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
type GcpMGCPInterface_PowerLimitationFactor_Call ¶
GcpMGCPInterface_PowerLimitationFactor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerLimitationFactor'
func (*GcpMGCPInterface_PowerLimitationFactor_Call) Return ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Return(f float64, err error) *GcpMGCPInterface_PowerLimitationFactor_Call
func (*GcpMGCPInterface_PowerLimitationFactor_Call) Run ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Run(run func()) *GcpMGCPInterface_PowerLimitationFactor_Call
func (*GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_PowerLimitationFactor_Call
type GcpMGCPInterface_PowerTotal_Call ¶ added in v0.8.0
GcpMGCPInterface_PowerTotal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerTotal'
func (*GcpMGCPInterface_PowerTotal_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_PowerTotal_Call) Return(f float64, err error) *GcpMGCPInterface_PowerTotal_Call
func (*GcpMGCPInterface_PowerTotal_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_PowerTotal_Call) Run(run func()) *GcpMGCPInterface_PowerTotal_Call
func (*GcpMGCPInterface_PowerTotal_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_PowerTotal_Call) RunAndReturn(run func() (float64, error)) *GcpMGCPInterface_PowerTotal_Call
type GcpMGCPInterface_RemoteEntitiesScenarios_Call ¶
GcpMGCPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
type GcpMGCPInterface_RemoveUseCase_Call ¶
GcpMGCPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*GcpMGCPInterface_RemoveUseCase_Call) Return ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) Return() *GcpMGCPInterface_RemoveUseCase_Call
func (*GcpMGCPInterface_RemoveUseCase_Call) Run ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) Run(run func()) *GcpMGCPInterface_RemoveUseCase_Call
func (*GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_RemoveUseCase_Call
type GcpMGCPInterface_UpdateDataCurrentPhaseA_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataCurrentPhaseA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseA'
func (*GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseA_Call
type GcpMGCPInterface_UpdateDataCurrentPhaseB_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataCurrentPhaseB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseB'
func (*GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseB_Call
type GcpMGCPInterface_UpdateDataCurrentPhaseC_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataCurrentPhaseC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseC'
func (*GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
func (*GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataCurrentPhaseC_Call
type GcpMGCPInterface_UpdateDataEnergyConsumed_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataEnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataEnergyConsumed'
func (*GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
func (*GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time)) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
func (*GcpMGCPInterface_UpdateDataEnergyConsumed_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyConsumed_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time) api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyConsumed_Call
type GcpMGCPInterface_UpdateDataEnergyFeedIn_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataEnergyFeedIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataEnergyFeedIn'
func (*GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
func (*GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time)) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
func (*GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationPeriodStart *time.Time, evaluationPeriodEnd *time.Time) api1.UpdateData) *GcpMGCPInterface_UpdateDataEnergyFeedIn_Call
type GcpMGCPInterface_UpdateDataFrequency_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataFrequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataFrequency'
func (*GcpMGCPInterface_UpdateDataFrequency_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataFrequency_Call
func (*GcpMGCPInterface_UpdateDataFrequency_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataFrequency_Call
func (*GcpMGCPInterface_UpdateDataFrequency_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataFrequency_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataFrequency_Call
type GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerLimitationFactor'
func (*GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
func (*GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) Run(run func(value float64)) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
func (*GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) RunAndReturn(run func(value float64) api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call
type GcpMGCPInterface_UpdateDataPowerTotal_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataPowerTotal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerTotal'
func (*GcpMGCPInterface_UpdateDataPowerTotal_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerTotal_Call
func (*GcpMGCPInterface_UpdateDataPowerTotal_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataPowerTotal_Call
func (*GcpMGCPInterface_UpdateDataPowerTotal_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataPowerTotal_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataPowerTotal_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseAToB'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseA_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseA'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseA_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseBToC'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseB_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseB'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseB_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseCToA'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call
type GcpMGCPInterface_UpdateDataVoltagePhaseC_Call ¶ added in v0.8.0
GcpMGCPInterface_UpdateDataVoltagePhaseC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseC'
func (*GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Return(updateData api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
func (*GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateData) *GcpMGCPInterface_UpdateDataVoltagePhaseC_Call
type GcpMGCPInterface_UpdateUseCaseAvailability_Call ¶
GcpMGCPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
type GcpMGCPInterface_Update_Call ¶ added in v0.8.0
GcpMGCPInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*GcpMGCPInterface_Update_Call) Return ¶ added in v0.8.0
func (_c *GcpMGCPInterface_Update_Call) Return(err error) *GcpMGCPInterface_Update_Call
func (*GcpMGCPInterface_Update_Call) Run ¶ added in v0.8.0
func (_c *GcpMGCPInterface_Update_Call) Run(run func(updateValueTypes ...api1.UpdateData)) *GcpMGCPInterface_Update_Call
func (*GcpMGCPInterface_Update_Call) RunAndReturn ¶ added in v0.8.0
func (_c *GcpMGCPInterface_Update_Call) RunAndReturn(run func(updateValueTypes ...api1.UpdateData) error) *GcpMGCPInterface_Update_Call
type GcpMGCPInterface_VoltagePerPhase_Call ¶
GcpMGCPInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*GcpMGCPInterface_VoltagePerPhase_Call) Return ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *GcpMGCPInterface_VoltagePerPhase_Call
func (*GcpMGCPInterface_VoltagePerPhase_Call) Run ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Run(run func()) *GcpMGCPInterface_VoltagePerPhase_Call
func (*GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *GcpMGCPInterface_VoltagePerPhase_Call
type MaMDTInterface ¶ added in v0.8.0
MaMDTInterface is an autogenerated mock type for the MaMDTInterface type
func NewMaMDTInterface ¶ added in v0.8.0
func NewMaMDTInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MaMDTInterface
NewMaMDTInterface creates a new instance of MaMDTInterface. 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 (*MaMDTInterface) AddFeatures ¶ added in v0.8.0
func (_mock *MaMDTInterface) AddFeatures()
AddFeatures provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) AddUseCase ¶ added in v0.8.0
func (_mock *MaMDTInterface) AddUseCase()
AddUseCase provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) AvailableScenariosForEntity ¶ added in v0.8.0
func (_mock *MaMDTInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) EXPECT ¶ added in v0.8.0
func (_m *MaMDTInterface) EXPECT() *MaMDTInterface_Expecter
func (*MaMDTInterface) IsCompatibleEntityType ¶ added in v0.8.0
func (_mock *MaMDTInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_mock *MaMDTInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_mock *MaMDTInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) RemoveUseCase ¶ added in v0.8.0
func (_mock *MaMDTInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) Temperature ¶ added in v0.8.0
func (_mock *MaMDTInterface) Temperature(entity api.EntityRemoteInterface, unit model.UnitOfMeasurementType) (float64, error)
Temperature provides a mock function for the type MaMDTInterface
func (*MaMDTInterface) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_mock *MaMDTInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type MaMDTInterface
type MaMDTInterface_AddFeatures_Call ¶ added in v0.8.0
MaMDTInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MaMDTInterface_AddFeatures_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_AddFeatures_Call) Return() *MaMDTInterface_AddFeatures_Call
func (*MaMDTInterface_AddFeatures_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_AddFeatures_Call) Run(run func()) *MaMDTInterface_AddFeatures_Call
func (*MaMDTInterface_AddFeatures_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_AddFeatures_Call) RunAndReturn(run func()) *MaMDTInterface_AddFeatures_Call
type MaMDTInterface_AddUseCase_Call ¶ added in v0.8.0
MaMDTInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MaMDTInterface_AddUseCase_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_AddUseCase_Call) Return() *MaMDTInterface_AddUseCase_Call
func (*MaMDTInterface_AddUseCase_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_AddUseCase_Call) Run(run func()) *MaMDTInterface_AddUseCase_Call
func (*MaMDTInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMDTInterface_AddUseCase_Call
type MaMDTInterface_AvailableScenariosForEntity_Call ¶ added in v0.8.0
MaMDTInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MaMDTInterface_AvailableScenariosForEntity_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMDTInterface_AvailableScenariosForEntity_Call
func (*MaMDTInterface_AvailableScenariosForEntity_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMDTInterface_AvailableScenariosForEntity_Call
func (*MaMDTInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMDTInterface_AvailableScenariosForEntity_Call
type MaMDTInterface_Expecter ¶ added in v0.8.0
type MaMDTInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaMDTInterface_Expecter) AddFeatures ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) AddFeatures() *MaMDTInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MaMDTInterface_Expecter) AddUseCase ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) AddUseCase() *MaMDTInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MaMDTInterface_Expecter) AvailableScenariosForEntity ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMDTInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMDTInterface_Expecter) IsCompatibleEntityType ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMDTInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMDTInterface_Expecter) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*MaMDTInterface_Expecter) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) RemoteEntitiesScenarios() *MaMDTInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MaMDTInterface_Expecter) RemoveUseCase ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) RemoveUseCase() *MaMDTInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MaMDTInterface_Expecter) Temperature ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) Temperature(entity interface{}, unit interface{}) *MaMDTInterface_Temperature_Call
Temperature is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- unit model.UnitOfMeasurementType
func (*MaMDTInterface_Expecter) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_e *MaMDTInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMDTInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type MaMDTInterface_IsCompatibleEntityType_Call ¶ added in v0.8.0
MaMDTInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MaMDTInterface_IsCompatibleEntityType_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMDTInterface_IsCompatibleEntityType_Call
func (*MaMDTInterface_IsCompatibleEntityType_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMDTInterface_IsCompatibleEntityType_Call
func (*MaMDTInterface_IsCompatibleEntityType_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMDTInterface_IsCompatibleEntityType_Call
type MaMDTInterface_IsScenarioAvailableAtEntity_Call ¶ added in v0.8.0
MaMDTInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MaMDTInterface_IsScenarioAvailableAtEntity_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
func (*MaMDTInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMDTInterface_IsScenarioAvailableAtEntity_Call
type MaMDTInterface_RemoteEntitiesScenarios_Call ¶ added in v0.8.0
MaMDTInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MaMDTInterface_RemoteEntitiesScenarios_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMDTInterface_RemoteEntitiesScenarios_Call
func (*MaMDTInterface_RemoteEntitiesScenarios_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMDTInterface_RemoteEntitiesScenarios_Call
func (*MaMDTInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMDTInterface_RemoteEntitiesScenarios_Call
type MaMDTInterface_RemoveUseCase_Call ¶ added in v0.8.0
MaMDTInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MaMDTInterface_RemoveUseCase_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoveUseCase_Call) Return() *MaMDTInterface_RemoveUseCase_Call
func (*MaMDTInterface_RemoveUseCase_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoveUseCase_Call) Run(run func()) *MaMDTInterface_RemoveUseCase_Call
func (*MaMDTInterface_RemoveUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MaMDTInterface_RemoveUseCase_Call
type MaMDTInterface_Temperature_Call ¶ added in v0.8.0
MaMDTInterface_Temperature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Temperature'
func (*MaMDTInterface_Temperature_Call) Return ¶ added in v0.8.0
func (_c *MaMDTInterface_Temperature_Call) Return(f float64, err error) *MaMDTInterface_Temperature_Call
func (*MaMDTInterface_Temperature_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_Temperature_Call) Run(run func(entity api.EntityRemoteInterface, unit model.UnitOfMeasurementType)) *MaMDTInterface_Temperature_Call
func (*MaMDTInterface_Temperature_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_Temperature_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, unit model.UnitOfMeasurementType) (float64, error)) *MaMDTInterface_Temperature_Call
type MaMDTInterface_UpdateUseCaseAvailability_Call ¶ added in v0.8.0
MaMDTInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MaMDTInterface_UpdateUseCaseAvailability_Call) Run ¶ added in v0.8.0
func (_c *MaMDTInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMDTInterface_UpdateUseCaseAvailability_Call
func (*MaMDTInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MaMDTInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMDTInterface_UpdateUseCaseAvailability_Call
type MaMGCPInterface ¶
MaMGCPInterface is an autogenerated mock type for the MaMGCPInterface type
func NewMaMGCPInterface ¶
func NewMaMGCPInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MaMGCPInterface
NewMaMGCPInterface creates a new instance of MaMGCPInterface. 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 (*MaMGCPInterface) AddFeatures ¶
func (_mock *MaMGCPInterface) AddFeatures() error
AddFeatures provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) AddUseCase ¶
func (_mock *MaMGCPInterface) AddUseCase()
AddUseCase provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) AvailableScenariosForEntity ¶
func (_mock *MaMGCPInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) CurrentPerPhase ¶
func (_mock *MaMGCPInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentPerPhase provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) EXPECT ¶
func (_m *MaMGCPInterface) EXPECT() *MaMGCPInterface_Expecter
func (*MaMGCPInterface) EnergyConsumed ¶
func (_mock *MaMGCPInterface) EnergyConsumed(entity api.EntityRemoteInterface) (float64, error)
EnergyConsumed provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) EnergyFeedIn ¶
func (_mock *MaMGCPInterface) EnergyFeedIn(entity api.EntityRemoteInterface) (float64, error)
EnergyFeedIn provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) Frequency ¶
func (_mock *MaMGCPInterface) Frequency(entity api.EntityRemoteInterface) (float64, error)
Frequency provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) IsCompatibleEntityType ¶
func (_mock *MaMGCPInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) IsScenarioAvailableAtEntity ¶
func (_mock *MaMGCPInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) Power ¶
func (_mock *MaMGCPInterface) Power(entity api.EntityRemoteInterface) (float64, error)
Power provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) PowerLimitationFactor ¶
func (_mock *MaMGCPInterface) PowerLimitationFactor(entity api.EntityRemoteInterface) (float64, error)
PowerLimitationFactor provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) RemoteEntitiesScenarios ¶
func (_mock *MaMGCPInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) RemoveUseCase ¶
func (_mock *MaMGCPInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) UpdateUseCaseAvailability ¶
func (_mock *MaMGCPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type MaMGCPInterface
func (*MaMGCPInterface) VoltagePerPhase ¶
func (_mock *MaMGCPInterface) VoltagePerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
VoltagePerPhase provides a mock function for the type MaMGCPInterface
type MaMGCPInterface_AddFeatures_Call ¶
MaMGCPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MaMGCPInterface_AddFeatures_Call) Return ¶
func (_c *MaMGCPInterface_AddFeatures_Call) Return(err error) *MaMGCPInterface_AddFeatures_Call
func (*MaMGCPInterface_AddFeatures_Call) Run ¶
func (_c *MaMGCPInterface_AddFeatures_Call) Run(run func()) *MaMGCPInterface_AddFeatures_Call
func (*MaMGCPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AddFeatures_Call) RunAndReturn(run func() error) *MaMGCPInterface_AddFeatures_Call
type MaMGCPInterface_AddUseCase_Call ¶
MaMGCPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MaMGCPInterface_AddUseCase_Call) Return ¶
func (_c *MaMGCPInterface_AddUseCase_Call) Return() *MaMGCPInterface_AddUseCase_Call
func (*MaMGCPInterface_AddUseCase_Call) Run ¶
func (_c *MaMGCPInterface_AddUseCase_Call) Run(run func()) *MaMGCPInterface_AddUseCase_Call
func (*MaMGCPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMGCPInterface_AddUseCase_Call
type MaMGCPInterface_AvailableScenariosForEntity_Call ¶
MaMGCPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_AvailableScenariosForEntity_Call
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
type MaMGCPInterface_CurrentPerPhase_Call ¶
MaMGCPInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*MaMGCPInterface_CurrentPerPhase_Call) Return ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MaMGCPInterface_CurrentPerPhase_Call
func (*MaMGCPInterface_CurrentPerPhase_Call) Run ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_CurrentPerPhase_Call
func (*MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MaMGCPInterface_CurrentPerPhase_Call
type MaMGCPInterface_EnergyConsumed_Call ¶
MaMGCPInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*MaMGCPInterface_EnergyConsumed_Call) Return ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) Return(f float64, err error) *MaMGCPInterface_EnergyConsumed_Call
func (*MaMGCPInterface_EnergyConsumed_Call) Run ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_EnergyConsumed_Call
func (*MaMGCPInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyConsumed_Call
type MaMGCPInterface_EnergyFeedIn_Call ¶
MaMGCPInterface_EnergyFeedIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyFeedIn'
func (*MaMGCPInterface_EnergyFeedIn_Call) Return ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) Return(f float64, err error) *MaMGCPInterface_EnergyFeedIn_Call
func (*MaMGCPInterface_EnergyFeedIn_Call) Run ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_EnergyFeedIn_Call
func (*MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyFeedIn_Call
type MaMGCPInterface_Expecter ¶
type MaMGCPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaMGCPInterface_Expecter) AddFeatures ¶
func (_e *MaMGCPInterface_Expecter) AddFeatures() *MaMGCPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) AddUseCase ¶
func (_e *MaMGCPInterface_Expecter) AddUseCase() *MaMGCPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *MaMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMGCPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) CurrentPerPhase ¶
func (_e *MaMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMGCPInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) EnergyConsumed ¶
func (_e *MaMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *MaMGCPInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) EnergyFeedIn ¶
func (_e *MaMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *MaMGCPInterface_EnergyFeedIn_Call
EnergyFeedIn is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) Frequency ¶
func (_e *MaMGCPInterface_Expecter) Frequency(entity interface{}) *MaMGCPInterface_Frequency_Call
Frequency is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *MaMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMGCPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*MaMGCPInterface_Expecter) Power ¶
func (_e *MaMGCPInterface_Expecter) Power(entity interface{}) *MaMGCPInterface_Power_Call
Power is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) PowerLimitationFactor ¶
func (_e *MaMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *MaMGCPInterface_PowerLimitationFactor_Call
PowerLimitationFactor is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *MaMGCPInterface_Expecter) RemoteEntitiesScenarios() *MaMGCPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) RemoveUseCase ¶
func (_e *MaMGCPInterface_Expecter) RemoveUseCase() *MaMGCPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *MaMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMGCPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*MaMGCPInterface_Expecter) VoltagePerPhase ¶
func (_e *MaMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMGCPInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
type MaMGCPInterface_Frequency_Call ¶
MaMGCPInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*MaMGCPInterface_Frequency_Call) Return ¶
func (_c *MaMGCPInterface_Frequency_Call) Return(f float64, err error) *MaMGCPInterface_Frequency_Call
func (*MaMGCPInterface_Frequency_Call) Run ¶
func (_c *MaMGCPInterface_Frequency_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_Frequency_Call
func (*MaMGCPInterface_Frequency_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_Frequency_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Frequency_Call
type MaMGCPInterface_IsCompatibleEntityType_Call ¶
MaMGCPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MaMGCPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMGCPInterface_IsCompatibleEntityType_Call
func (*MaMGCPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_IsCompatibleEntityType_Call
func (*MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMGCPInterface_IsCompatibleEntityType_Call
type MaMGCPInterface_IsScenarioAvailableAtEntity_Call ¶
MaMGCPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
type MaMGCPInterface_PowerLimitationFactor_Call ¶
MaMGCPInterface_PowerLimitationFactor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerLimitationFactor'
func (*MaMGCPInterface_PowerLimitationFactor_Call) Return ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Return(f float64, err error) *MaMGCPInterface_PowerLimitationFactor_Call
func (*MaMGCPInterface_PowerLimitationFactor_Call) Run ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_PowerLimitationFactor_Call
func (*MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_PowerLimitationFactor_Call
type MaMGCPInterface_Power_Call ¶
MaMGCPInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*MaMGCPInterface_Power_Call) Return ¶
func (_c *MaMGCPInterface_Power_Call) Return(f float64, err error) *MaMGCPInterface_Power_Call
func (*MaMGCPInterface_Power_Call) Run ¶
func (_c *MaMGCPInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_Power_Call
func (*MaMGCPInterface_Power_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Power_Call
type MaMGCPInterface_RemoteEntitiesScenarios_Call ¶
MaMGCPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMGCPInterface_RemoteEntitiesScenarios_Call
func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
type MaMGCPInterface_RemoveUseCase_Call ¶
MaMGCPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MaMGCPInterface_RemoveUseCase_Call) Return ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) Return() *MaMGCPInterface_RemoveUseCase_Call
func (*MaMGCPInterface_RemoveUseCase_Call) Run ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) Run(run func()) *MaMGCPInterface_RemoveUseCase_Call
func (*MaMGCPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MaMGCPInterface_RemoveUseCase_Call
type MaMGCPInterface_UpdateUseCaseAvailability_Call ¶
MaMGCPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
type MaMGCPInterface_VoltagePerPhase_Call ¶
MaMGCPInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*MaMGCPInterface_VoltagePerPhase_Call) Return ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MaMGCPInterface_VoltagePerPhase_Call
func (*MaMGCPInterface_VoltagePerPhase_Call) Run ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMGCPInterface_VoltagePerPhase_Call
func (*MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MaMGCPInterface_VoltagePerPhase_Call
type MaMPCInterface ¶
MaMPCInterface is an autogenerated mock type for the MaMPCInterface type
func NewMaMPCInterface ¶
func NewMaMPCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MaMPCInterface
NewMaMPCInterface creates a new instance of MaMPCInterface. 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 (*MaMPCInterface) AddFeatures ¶
func (_mock *MaMPCInterface) AddFeatures() error
AddFeatures provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) AddUseCase ¶
func (_mock *MaMPCInterface) AddUseCase()
AddUseCase provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) AvailableScenariosForEntity ¶
func (_mock *MaMPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) CurrentPerPhase ¶
func (_mock *MaMPCInterface) CurrentPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentPerPhase provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) EXPECT ¶
func (_m *MaMPCInterface) EXPECT() *MaMPCInterface_Expecter
func (*MaMPCInterface) EnergyConsumed ¶
func (_mock *MaMPCInterface) EnergyConsumed(entity api.EntityRemoteInterface) (float64, error)
EnergyConsumed provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) EnergyProduced ¶
func (_mock *MaMPCInterface) EnergyProduced(entity api.EntityRemoteInterface) (float64, error)
EnergyProduced provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) Frequency ¶
func (_mock *MaMPCInterface) Frequency(entity api.EntityRemoteInterface) (float64, error)
Frequency provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) IsCompatibleEntityType ¶
func (_mock *MaMPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) IsScenarioAvailableAtEntity ¶
func (_mock *MaMPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) Power ¶
func (_mock *MaMPCInterface) Power(entity api.EntityRemoteInterface) (float64, error)
Power provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) PowerPerPhase ¶
func (_mock *MaMPCInterface) PowerPerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
PowerPerPhase provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) RemoteEntitiesScenarios ¶
func (_mock *MaMPCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) RemoveUseCase ¶
func (_mock *MaMPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) UpdateUseCaseAvailability ¶
func (_mock *MaMPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type MaMPCInterface
func (*MaMPCInterface) VoltagePerPhase ¶
func (_mock *MaMPCInterface) VoltagePerPhase(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)
VoltagePerPhase provides a mock function for the type MaMPCInterface
type MaMPCInterface_AddFeatures_Call ¶
MaMPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MaMPCInterface_AddFeatures_Call) Return ¶
func (_c *MaMPCInterface_AddFeatures_Call) Return(err error) *MaMPCInterface_AddFeatures_Call
func (*MaMPCInterface_AddFeatures_Call) Run ¶
func (_c *MaMPCInterface_AddFeatures_Call) Run(run func()) *MaMPCInterface_AddFeatures_Call
func (*MaMPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AddFeatures_Call) RunAndReturn(run func() error) *MaMPCInterface_AddFeatures_Call
type MaMPCInterface_AddUseCase_Call ¶
MaMPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MaMPCInterface_AddUseCase_Call) Return ¶
func (_c *MaMPCInterface_AddUseCase_Call) Return() *MaMPCInterface_AddUseCase_Call
func (*MaMPCInterface_AddUseCase_Call) Run ¶
func (_c *MaMPCInterface_AddUseCase_Call) Run(run func()) *MaMPCInterface_AddUseCase_Call
func (*MaMPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMPCInterface_AddUseCase_Call
type MaMPCInterface_AvailableScenariosForEntity_Call ¶
MaMPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MaMPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
func (*MaMPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_AvailableScenariosForEntity_Call
func (*MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
type MaMPCInterface_CurrentPerPhase_Call ¶
MaMPCInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*MaMPCInterface_CurrentPerPhase_Call) Return ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MaMPCInterface_CurrentPerPhase_Call
func (*MaMPCInterface_CurrentPerPhase_Call) Run ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_CurrentPerPhase_Call
func (*MaMPCInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MaMPCInterface_CurrentPerPhase_Call
type MaMPCInterface_EnergyConsumed_Call ¶
MaMPCInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*MaMPCInterface_EnergyConsumed_Call) Return ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) Return(f float64, err error) *MaMPCInterface_EnergyConsumed_Call
func (*MaMPCInterface_EnergyConsumed_Call) Run ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_EnergyConsumed_Call
func (*MaMPCInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyConsumed_Call
type MaMPCInterface_EnergyProduced_Call ¶
MaMPCInterface_EnergyProduced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyProduced'
func (*MaMPCInterface_EnergyProduced_Call) Return ¶
func (_c *MaMPCInterface_EnergyProduced_Call) Return(f float64, err error) *MaMPCInterface_EnergyProduced_Call
func (*MaMPCInterface_EnergyProduced_Call) Run ¶
func (_c *MaMPCInterface_EnergyProduced_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_EnergyProduced_Call
func (*MaMPCInterface_EnergyProduced_Call) RunAndReturn ¶
func (_c *MaMPCInterface_EnergyProduced_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyProduced_Call
type MaMPCInterface_Expecter ¶
type MaMPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaMPCInterface_Expecter) AddFeatures ¶
func (_e *MaMPCInterface_Expecter) AddFeatures() *MaMPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) AddUseCase ¶
func (_e *MaMPCInterface_Expecter) AddUseCase() *MaMPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *MaMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) CurrentPerPhase ¶
func (_e *MaMPCInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMPCInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) EnergyConsumed ¶
func (_e *MaMPCInterface_Expecter) EnergyConsumed(entity interface{}) *MaMPCInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) EnergyProduced ¶
func (_e *MaMPCInterface_Expecter) EnergyProduced(entity interface{}) *MaMPCInterface_EnergyProduced_Call
EnergyProduced is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) Frequency ¶
func (_e *MaMPCInterface_Expecter) Frequency(entity interface{}) *MaMPCInterface_Frequency_Call
Frequency is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *MaMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *MaMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*MaMPCInterface_Expecter) Power ¶
func (_e *MaMPCInterface_Expecter) Power(entity interface{}) *MaMPCInterface_Power_Call
Power is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) PowerPerPhase ¶
func (_e *MaMPCInterface_Expecter) PowerPerPhase(entity interface{}) *MaMPCInterface_PowerPerPhase_Call
PowerPerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MaMPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *MaMPCInterface_Expecter) RemoteEntitiesScenarios() *MaMPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) RemoveUseCase ¶
func (_e *MaMPCInterface_Expecter) RemoveUseCase() *MaMPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *MaMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*MaMPCInterface_Expecter) VoltagePerPhase ¶
func (_e *MaMPCInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMPCInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
- entity api.EntityRemoteInterface
type MaMPCInterface_Frequency_Call ¶
MaMPCInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*MaMPCInterface_Frequency_Call) Return ¶
func (_c *MaMPCInterface_Frequency_Call) Return(f float64, err error) *MaMPCInterface_Frequency_Call
func (*MaMPCInterface_Frequency_Call) Run ¶
func (_c *MaMPCInterface_Frequency_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_Frequency_Call
func (*MaMPCInterface_Frequency_Call) RunAndReturn ¶
func (_c *MaMPCInterface_Frequency_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Frequency_Call
type MaMPCInterface_IsCompatibleEntityType_Call ¶
MaMPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MaMPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Return(b bool) *MaMPCInterface_IsCompatibleEntityType_Call
func (*MaMPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_IsCompatibleEntityType_Call
func (*MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MaMPCInterface_IsCompatibleEntityType_Call
type MaMPCInterface_IsScenarioAvailableAtEntity_Call ¶
MaMPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
type MaMPCInterface_PowerPerPhase_Call ¶
MaMPCInterface_PowerPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerPerPhase'
func (*MaMPCInterface_PowerPerPhase_Call) Return ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MaMPCInterface_PowerPerPhase_Call
func (*MaMPCInterface_PowerPerPhase_Call) Run ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_PowerPerPhase_Call
func (*MaMPCInterface_PowerPerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MaMPCInterface_PowerPerPhase_Call
type MaMPCInterface_Power_Call ¶
MaMPCInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*MaMPCInterface_Power_Call) Return ¶
func (_c *MaMPCInterface_Power_Call) Return(f float64, err error) *MaMPCInterface_Power_Call
func (*MaMPCInterface_Power_Call) Run ¶
func (_c *MaMPCInterface_Power_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_Power_Call
func (*MaMPCInterface_Power_Call) RunAndReturn ¶
func (_c *MaMPCInterface_Power_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Power_Call
type MaMPCInterface_RemoteEntitiesScenarios_Call ¶
MaMPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MaMPCInterface_RemoteEntitiesScenarios_Call) Return ¶
func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
func (*MaMPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMPCInterface_RemoteEntitiesScenarios_Call
func (*MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
type MaMPCInterface_RemoveUseCase_Call ¶
MaMPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MaMPCInterface_RemoveUseCase_Call) Return ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) Return() *MaMPCInterface_RemoveUseCase_Call
func (*MaMPCInterface_RemoveUseCase_Call) Run ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) Run(run func()) *MaMPCInterface_RemoveUseCase_Call
func (*MaMPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MaMPCInterface_RemoveUseCase_Call
type MaMPCInterface_UpdateUseCaseAvailability_Call ¶
MaMPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MaMPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
func (*MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
type MaMPCInterface_VoltagePerPhase_Call ¶
MaMPCInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*MaMPCInterface_VoltagePerPhase_Call) Return ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MaMPCInterface_VoltagePerPhase_Call
func (*MaMPCInterface_VoltagePerPhase_Call) Run ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) Run(run func(entity api.EntityRemoteInterface)) *MaMPCInterface_VoltagePerPhase_Call
func (*MaMPCInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MaMPCInterface_VoltagePerPhase_Call
type MuMPCInterface ¶ added in v0.8.0
MuMPCInterface is an autogenerated mock type for the MuMPCInterface type
func NewMuMPCInterface ¶ added in v0.8.0
func NewMuMPCInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MuMPCInterface
NewMuMPCInterface creates a new instance of MuMPCInterface. 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 (*MuMPCInterface) AddFeatures ¶ added in v0.8.0
func (_mock *MuMPCInterface) AddFeatures() error
AddFeatures provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) AddUseCase ¶ added in v0.8.0
func (_mock *MuMPCInterface) AddUseCase()
AddUseCase provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) AvailableScenariosForEntity ¶ added in v0.8.0
func (_mock *MuMPCInterface) AvailableScenariosForEntity(entity api.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) CurrentPerPhase ¶ added in v0.8.0
func (_mock *MuMPCInterface) CurrentPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
CurrentPerPhase provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) EXPECT ¶ added in v0.8.0
func (_m *MuMPCInterface) EXPECT() *MuMPCInterface_Expecter
func (*MuMPCInterface) EnergyConsumed ¶ added in v0.8.0
func (_mock *MuMPCInterface) EnergyConsumed() (float64, error)
EnergyConsumed provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) EnergyProduced ¶ added in v0.8.0
func (_mock *MuMPCInterface) EnergyProduced() (float64, error)
EnergyProduced provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) Frequency ¶ added in v0.8.0
func (_mock *MuMPCInterface) Frequency() (float64, error)
Frequency provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) IsCompatibleEntityType ¶ added in v0.8.0
func (_mock *MuMPCInterface) IsCompatibleEntityType(entity api.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_mock *MuMPCInterface) IsScenarioAvailableAtEntity(entity api.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) Power ¶ added in v0.8.0
func (_mock *MuMPCInterface) Power() (float64, error)
Power provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) PowerPerPhase ¶ added in v0.8.0
func (_mock *MuMPCInterface) PowerPerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
PowerPerPhase provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_mock *MuMPCInterface) RemoteEntitiesScenarios() []api0.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) RemoveUseCase ¶ added in v0.8.0
func (_mock *MuMPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) Update ¶ added in v0.8.0
func (_mock *MuMPCInterface) Update(data ...api1.UpdateMeasurementData) error
Update provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataCurrentPhaseA ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataCurrentPhaseA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataCurrentPhaseA provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataCurrentPhaseB ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataCurrentPhaseB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataCurrentPhaseB provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataCurrentPhaseC ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataCurrentPhaseC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataCurrentPhaseC provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataEnergyConsumed ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataEnergyConsumed(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time) api1.UpdateMeasurementData
UpdateDataEnergyConsumed provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataEnergyProduced ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataEnergyProduced(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time) api1.UpdateMeasurementData
UpdateDataEnergyProduced provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataFrequency ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataFrequency(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataFrequency provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataPowerPhaseA ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataPowerPhaseA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataPowerPhaseA provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataPowerPhaseB ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataPowerPhaseB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataPowerPhaseB provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataPowerPhaseC ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataPowerPhaseC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataPowerPhaseC provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataPowerTotal ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataPowerTotal(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataPowerTotal provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseA ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseA(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseA provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseAToB ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseAToB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseAToB provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseAToC ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseAToC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseAToC provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseB ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseB(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseB provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseBToC ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseBToC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseBToC provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateDataVoltagePhaseC ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateDataVoltagePhaseC(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData
UpdateDataVoltagePhaseC provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_mock *MuMPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function for the type MuMPCInterface
func (*MuMPCInterface) VoltagePerPhase ¶ added in v0.8.0
func (_mock *MuMPCInterface) VoltagePerPhase() (map[model.ElectricalConnectionPhaseNameType]float64, error)
VoltagePerPhase provides a mock function for the type MuMPCInterface
type MuMPCInterface_AddFeatures_Call ¶ added in v0.8.0
MuMPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MuMPCInterface_AddFeatures_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_AddFeatures_Call) Return(err error) *MuMPCInterface_AddFeatures_Call
func (*MuMPCInterface_AddFeatures_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_AddFeatures_Call) Run(run func()) *MuMPCInterface_AddFeatures_Call
func (*MuMPCInterface_AddFeatures_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_AddFeatures_Call) RunAndReturn(run func() error) *MuMPCInterface_AddFeatures_Call
type MuMPCInterface_AddUseCase_Call ¶ added in v0.8.0
MuMPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MuMPCInterface_AddUseCase_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_AddUseCase_Call) Return() *MuMPCInterface_AddUseCase_Call
func (*MuMPCInterface_AddUseCase_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_AddUseCase_Call) Run(run func()) *MuMPCInterface_AddUseCase_Call
func (*MuMPCInterface_AddUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_AddUseCase_Call) RunAndReturn(run func()) *MuMPCInterface_AddUseCase_Call
type MuMPCInterface_AvailableScenariosForEntity_Call ¶ added in v0.8.0
MuMPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MuMPCInterface_AvailableScenariosForEntity_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) Return(uints []uint) *MuMPCInterface_AvailableScenariosForEntity_Call
func (*MuMPCInterface_AvailableScenariosForEntity_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity api.EntityRemoteInterface)) *MuMPCInterface_AvailableScenariosForEntity_Call
func (*MuMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) []uint) *MuMPCInterface_AvailableScenariosForEntity_Call
type MuMPCInterface_CurrentPerPhase_Call ¶ added in v0.8.0
MuMPCInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*MuMPCInterface_CurrentPerPhase_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_CurrentPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MuMPCInterface_CurrentPerPhase_Call
func (*MuMPCInterface_CurrentPerPhase_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_CurrentPerPhase_Call) Run(run func()) *MuMPCInterface_CurrentPerPhase_Call
func (*MuMPCInterface_CurrentPerPhase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_CurrentPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_CurrentPerPhase_Call
type MuMPCInterface_EnergyConsumed_Call ¶ added in v0.8.0
MuMPCInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*MuMPCInterface_EnergyConsumed_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyConsumed_Call) Return(f float64, err error) *MuMPCInterface_EnergyConsumed_Call
func (*MuMPCInterface_EnergyConsumed_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyConsumed_Call) Run(run func()) *MuMPCInterface_EnergyConsumed_Call
func (*MuMPCInterface_EnergyConsumed_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyConsumed_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_EnergyConsumed_Call
type MuMPCInterface_EnergyProduced_Call ¶ added in v0.8.0
MuMPCInterface_EnergyProduced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyProduced'
func (*MuMPCInterface_EnergyProduced_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyProduced_Call) Return(f float64, err error) *MuMPCInterface_EnergyProduced_Call
func (*MuMPCInterface_EnergyProduced_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyProduced_Call) Run(run func()) *MuMPCInterface_EnergyProduced_Call
func (*MuMPCInterface_EnergyProduced_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_EnergyProduced_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_EnergyProduced_Call
type MuMPCInterface_Expecter ¶ added in v0.8.0
type MuMPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MuMPCInterface_Expecter) AddFeatures ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) AddFeatures() *MuMPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) AddUseCase ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) AddUseCase() *MuMPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) AvailableScenariosForEntity ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MuMPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MuMPCInterface_Expecter) CurrentPerPhase ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) CurrentPerPhase() *MuMPCInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) EnergyConsumed ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) EnergyConsumed() *MuMPCInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) EnergyProduced ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) EnergyProduced() *MuMPCInterface_EnergyProduced_Call
EnergyProduced is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) Frequency ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) Frequency() *MuMPCInterface_Frequency_Call
Frequency is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) IsCompatibleEntityType ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MuMPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity api.EntityRemoteInterface
func (*MuMPCInterface_Expecter) IsScenarioAvailableAtEntity ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity api.EntityRemoteInterface
- scenario uint
func (*MuMPCInterface_Expecter) Power ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) Power() *MuMPCInterface_Power_Call
Power is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) PowerPerPhase ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) PowerPerPhase() *MuMPCInterface_PowerPerPhase_Call
PowerPerPhase is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) RemoteEntitiesScenarios ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) RemoteEntitiesScenarios() *MuMPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) RemoveUseCase ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) RemoveUseCase() *MuMPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MuMPCInterface_Expecter) Update ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) Update(data ...interface{}) *MuMPCInterface_Update_Call
Update is a helper method to define mock.On call
- data ...api1.UpdateMeasurementData
func (*MuMPCInterface_Expecter) UpdateDataCurrentPhaseA ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
UpdateDataCurrentPhaseA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataCurrentPhaseB ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
UpdateDataCurrentPhaseB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataCurrentPhaseC ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataCurrentPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
UpdateDataCurrentPhaseC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataEnergyConsumed ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataEnergyConsumed(value interface{}, timestamp interface{}, valueState interface{}, evaluationStart interface{}, evaluationEnd interface{}) *MuMPCInterface_UpdateDataEnergyConsumed_Call
UpdateDataEnergyConsumed is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
- evaluationStart *time.Time
- evaluationEnd *time.Time
func (*MuMPCInterface_Expecter) UpdateDataEnergyProduced ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataEnergyProduced(value interface{}, timestamp interface{}, valueState interface{}, evaluationStart interface{}, evaluationEnd interface{}) *MuMPCInterface_UpdateDataEnergyProduced_Call
UpdateDataEnergyProduced is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
- evaluationStart *time.Time
- evaluationEnd *time.Time
func (*MuMPCInterface_Expecter) UpdateDataFrequency ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataFrequency(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataFrequency_Call
UpdateDataFrequency is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataPowerPhaseA ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseA_Call
UpdateDataPowerPhaseA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataPowerPhaseB ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseB_Call
UpdateDataPowerPhaseB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataPowerPhaseC ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataPowerPhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerPhaseC_Call
UpdateDataPowerPhaseC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataPowerTotal ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataPowerTotal(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataPowerTotal_Call
UpdateDataPowerTotal is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseA ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseA(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
UpdateDataVoltagePhaseA is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToB ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
UpdateDataVoltagePhaseAToB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToC ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseAToC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
UpdateDataVoltagePhaseAToC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseB ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseB(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
UpdateDataVoltagePhaseB is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseBToC ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseBToC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
UpdateDataVoltagePhaseBToC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateDataVoltagePhaseC ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateDataVoltagePhaseC(value interface{}, timestamp interface{}, valueState interface{}) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
UpdateDataVoltagePhaseC is a helper method to define mock.On call
- value float64
- timestamp *time.Time
- valueState *model.MeasurementValueStateType
func (*MuMPCInterface_Expecter) UpdateUseCaseAvailability ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MuMPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*MuMPCInterface_Expecter) VoltagePerPhase ¶ added in v0.8.0
func (_e *MuMPCInterface_Expecter) VoltagePerPhase() *MuMPCInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
type MuMPCInterface_Frequency_Call ¶ added in v0.8.0
MuMPCInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*MuMPCInterface_Frequency_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_Frequency_Call) Return(f float64, err error) *MuMPCInterface_Frequency_Call
func (*MuMPCInterface_Frequency_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_Frequency_Call) Run(run func()) *MuMPCInterface_Frequency_Call
func (*MuMPCInterface_Frequency_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_Frequency_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_Frequency_Call
type MuMPCInterface_IsCompatibleEntityType_Call ¶ added in v0.8.0
MuMPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MuMPCInterface_IsCompatibleEntityType_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_IsCompatibleEntityType_Call) Return(b bool) *MuMPCInterface_IsCompatibleEntityType_Call
func (*MuMPCInterface_IsCompatibleEntityType_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity api.EntityRemoteInterface)) *MuMPCInterface_IsCompatibleEntityType_Call
func (*MuMPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(entity api.EntityRemoteInterface) bool) *MuMPCInterface_IsCompatibleEntityType_Call
type MuMPCInterface_IsScenarioAvailableAtEntity_Call ¶ added in v0.8.0
MuMPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MuMPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity api.EntityRemoteInterface, scenario uint)) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
func (*MuMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(entity api.EntityRemoteInterface, scenario uint) bool) *MuMPCInterface_IsScenarioAvailableAtEntity_Call
type MuMPCInterface_PowerPerPhase_Call ¶ added in v0.8.0
MuMPCInterface_PowerPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerPerPhase'
func (*MuMPCInterface_PowerPerPhase_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_PowerPerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MuMPCInterface_PowerPerPhase_Call
func (*MuMPCInterface_PowerPerPhase_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_PowerPerPhase_Call) Run(run func()) *MuMPCInterface_PowerPerPhase_Call
func (*MuMPCInterface_PowerPerPhase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_PowerPerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_PowerPerPhase_Call
type MuMPCInterface_Power_Call ¶ added in v0.8.0
MuMPCInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*MuMPCInterface_Power_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_Power_Call) Return(f float64, err error) *MuMPCInterface_Power_Call
func (*MuMPCInterface_Power_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_Power_Call) Run(run func()) *MuMPCInterface_Power_Call
func (*MuMPCInterface_Power_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_Power_Call) RunAndReturn(run func() (float64, error)) *MuMPCInterface_Power_Call
type MuMPCInterface_RemoteEntitiesScenarios_Call ¶ added in v0.8.0
MuMPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MuMPCInterface_RemoteEntitiesScenarios_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) Return(remoteEntityScenarioss []api0.RemoteEntityScenarios) *MuMPCInterface_RemoteEntitiesScenarios_Call
func (*MuMPCInterface_RemoteEntitiesScenarios_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MuMPCInterface_RemoteEntitiesScenarios_Call
func (*MuMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []api0.RemoteEntityScenarios) *MuMPCInterface_RemoteEntitiesScenarios_Call
type MuMPCInterface_RemoveUseCase_Call ¶ added in v0.8.0
MuMPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MuMPCInterface_RemoveUseCase_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoveUseCase_Call) Return() *MuMPCInterface_RemoveUseCase_Call
func (*MuMPCInterface_RemoveUseCase_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoveUseCase_Call) Run(run func()) *MuMPCInterface_RemoveUseCase_Call
func (*MuMPCInterface_RemoveUseCase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MuMPCInterface_RemoveUseCase_Call
type MuMPCInterface_UpdateDataCurrentPhaseA_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataCurrentPhaseA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseA'
func (*MuMPCInterface_UpdateDataCurrentPhaseA_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseA_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseA_Call
type MuMPCInterface_UpdateDataCurrentPhaseB_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataCurrentPhaseB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseB'
func (*MuMPCInterface_UpdateDataCurrentPhaseB_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseB_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseB_Call
type MuMPCInterface_UpdateDataCurrentPhaseC_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataCurrentPhaseC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataCurrentPhaseC'
func (*MuMPCInterface_UpdateDataCurrentPhaseC_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseC_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
func (*MuMPCInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataCurrentPhaseC_Call
type MuMPCInterface_UpdateDataEnergyConsumed_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataEnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataEnergyConsumed'
func (*MuMPCInterface_UpdateDataEnergyConsumed_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyConsumed_Call
func (*MuMPCInterface_UpdateDataEnergyConsumed_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time)) *MuMPCInterface_UpdateDataEnergyConsumed_Call
func (*MuMPCInterface_UpdateDataEnergyConsumed_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyConsumed_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyConsumed_Call
type MuMPCInterface_UpdateDataEnergyProduced_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataEnergyProduced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataEnergyProduced'
func (*MuMPCInterface_UpdateDataEnergyProduced_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyProduced_Call
func (*MuMPCInterface_UpdateDataEnergyProduced_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time)) *MuMPCInterface_UpdateDataEnergyProduced_Call
func (*MuMPCInterface_UpdateDataEnergyProduced_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataEnergyProduced_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType, evaluationStart *time.Time, evaluationEnd *time.Time) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataEnergyProduced_Call
type MuMPCInterface_UpdateDataFrequency_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataFrequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataFrequency'
func (*MuMPCInterface_UpdateDataFrequency_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataFrequency_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataFrequency_Call
func (*MuMPCInterface_UpdateDataFrequency_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataFrequency_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataFrequency_Call
func (*MuMPCInterface_UpdateDataFrequency_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataFrequency_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataFrequency_Call
type MuMPCInterface_UpdateDataPowerPhaseA_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataPowerPhaseA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerPhaseA'
func (*MuMPCInterface_UpdateDataPowerPhaseA_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseA_Call
func (*MuMPCInterface_UpdateDataPowerPhaseA_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataPowerPhaseA_Call
func (*MuMPCInterface_UpdateDataPowerPhaseA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseA_Call
type MuMPCInterface_UpdateDataPowerPhaseB_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataPowerPhaseB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerPhaseB'
func (*MuMPCInterface_UpdateDataPowerPhaseB_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseB_Call
func (*MuMPCInterface_UpdateDataPowerPhaseB_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataPowerPhaseB_Call
func (*MuMPCInterface_UpdateDataPowerPhaseB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseB_Call
type MuMPCInterface_UpdateDataPowerPhaseC_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataPowerPhaseC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerPhaseC'
func (*MuMPCInterface_UpdateDataPowerPhaseC_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseC_Call
func (*MuMPCInterface_UpdateDataPowerPhaseC_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataPowerPhaseC_Call
func (*MuMPCInterface_UpdateDataPowerPhaseC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerPhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerPhaseC_Call
type MuMPCInterface_UpdateDataPowerTotal_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataPowerTotal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataPowerTotal'
func (*MuMPCInterface_UpdateDataPowerTotal_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerTotal_Call
func (*MuMPCInterface_UpdateDataPowerTotal_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataPowerTotal_Call
func (*MuMPCInterface_UpdateDataPowerTotal_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataPowerTotal_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataPowerTotal_Call
type MuMPCInterface_UpdateDataVoltagePhaseAToB_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseAToB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseAToB'
func (*MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToB_Call
type MuMPCInterface_UpdateDataVoltagePhaseAToC_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseAToC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseAToC'
func (*MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseAToC_Call
type MuMPCInterface_UpdateDataVoltagePhaseA_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseA'
func (*MuMPCInterface_UpdateDataVoltagePhaseA_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseA_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseA_Call
type MuMPCInterface_UpdateDataVoltagePhaseBToC_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseBToC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseBToC'
func (*MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseBToC_Call
type MuMPCInterface_UpdateDataVoltagePhaseB_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseB'
func (*MuMPCInterface_UpdateDataVoltagePhaseB_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseB_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseB_Call
type MuMPCInterface_UpdateDataVoltagePhaseC_Call ¶ added in v0.8.0
MuMPCInterface_UpdateDataVoltagePhaseC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDataVoltagePhaseC'
func (*MuMPCInterface_UpdateDataVoltagePhaseC_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) Return(updateMeasurementData api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseC_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) Run(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType)) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
func (*MuMPCInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn(run func(value float64, timestamp *time.Time, valueState *model.MeasurementValueStateType) api1.UpdateMeasurementData) *MuMPCInterface_UpdateDataVoltagePhaseC_Call
type MuMPCInterface_UpdateUseCaseAvailability_Call ¶ added in v0.8.0
MuMPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MuMPCInterface_UpdateUseCaseAvailability_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MuMPCInterface_UpdateUseCaseAvailability_Call
func (*MuMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(available bool)) *MuMPCInterface_UpdateUseCaseAvailability_Call
type MuMPCInterface_Update_Call ¶ added in v0.8.0
MuMPCInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MuMPCInterface_Update_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_Update_Call) Return(err error) *MuMPCInterface_Update_Call
func (*MuMPCInterface_Update_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_Update_Call) Run(run func(data ...api1.UpdateMeasurementData)) *MuMPCInterface_Update_Call
func (*MuMPCInterface_Update_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_Update_Call) RunAndReturn(run func(data ...api1.UpdateMeasurementData) error) *MuMPCInterface_Update_Call
type MuMPCInterface_VoltagePerPhase_Call ¶ added in v0.8.0
MuMPCInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*MuMPCInterface_VoltagePerPhase_Call) Return ¶ added in v0.8.0
func (_c *MuMPCInterface_VoltagePerPhase_Call) Return(electricalConnectionPhaseNameTypeToFloat64 map[model.ElectricalConnectionPhaseNameType]float64, err error) *MuMPCInterface_VoltagePerPhase_Call
func (*MuMPCInterface_VoltagePerPhase_Call) Run ¶ added in v0.8.0
func (_c *MuMPCInterface_VoltagePerPhase_Call) Run(run func()) *MuMPCInterface_VoltagePerPhase_Call
func (*MuMPCInterface_VoltagePerPhase_Call) RunAndReturn ¶ added in v0.8.0
func (_c *MuMPCInterface_VoltagePerPhase_Call) RunAndReturn(run func() (map[model.ElectricalConnectionPhaseNameType]float64, error)) *MuMPCInterface_VoltagePerPhase_Call
type UpdateConfigurationData ¶ added in v0.8.0
UpdateConfigurationData is an autogenerated mock type for the UpdateConfigurationData type
func NewUpdateConfigurationData ¶ added in v0.8.0
func NewUpdateConfigurationData(t interface {
mock.TestingT
Cleanup(func())
}) *UpdateConfigurationData
NewUpdateConfigurationData creates a new instance of UpdateConfigurationData. 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 (*UpdateConfigurationData) ConfigurationData ¶ added in v0.8.0
func (_mock *UpdateConfigurationData) ConfigurationData() model.DeviceConfigurationKeyValueDataType
ConfigurationData provides a mock function for the type UpdateConfigurationData
func (*UpdateConfigurationData) EXPECT ¶ added in v0.8.0
func (_m *UpdateConfigurationData) EXPECT() *UpdateConfigurationData_Expecter
func (*UpdateConfigurationData) NotSupportedError ¶ added in v0.8.0
func (_mock *UpdateConfigurationData) NotSupportedError() error
NotSupportedError provides a mock function for the type UpdateConfigurationData
func (*UpdateConfigurationData) Supported ¶ added in v0.8.0
func (_mock *UpdateConfigurationData) Supported() bool
Supported provides a mock function for the type UpdateConfigurationData
type UpdateConfigurationData_ConfigurationData_Call ¶ added in v0.8.0
UpdateConfigurationData_ConfigurationData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigurationData'
func (*UpdateConfigurationData_ConfigurationData_Call) Return ¶ added in v0.8.0
func (_c *UpdateConfigurationData_ConfigurationData_Call) Return(deviceConfigurationKeyValueDataType model.DeviceConfigurationKeyValueDataType) *UpdateConfigurationData_ConfigurationData_Call
func (*UpdateConfigurationData_ConfigurationData_Call) Run ¶ added in v0.8.0
func (_c *UpdateConfigurationData_ConfigurationData_Call) Run(run func()) *UpdateConfigurationData_ConfigurationData_Call
func (*UpdateConfigurationData_ConfigurationData_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateConfigurationData_ConfigurationData_Call) RunAndReturn(run func() model.DeviceConfigurationKeyValueDataType) *UpdateConfigurationData_ConfigurationData_Call
type UpdateConfigurationData_Expecter ¶ added in v0.8.0
type UpdateConfigurationData_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateConfigurationData_Expecter) ConfigurationData ¶ added in v0.8.0
func (_e *UpdateConfigurationData_Expecter) ConfigurationData() *UpdateConfigurationData_ConfigurationData_Call
ConfigurationData is a helper method to define mock.On call
func (*UpdateConfigurationData_Expecter) NotSupportedError ¶ added in v0.8.0
func (_e *UpdateConfigurationData_Expecter) NotSupportedError() *UpdateConfigurationData_NotSupportedError_Call
NotSupportedError is a helper method to define mock.On call
func (*UpdateConfigurationData_Expecter) Supported ¶ added in v0.8.0
func (_e *UpdateConfigurationData_Expecter) Supported() *UpdateConfigurationData_Supported_Call
Supported is a helper method to define mock.On call
type UpdateConfigurationData_NotSupportedError_Call ¶ added in v0.8.0
UpdateConfigurationData_NotSupportedError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotSupportedError'
func (*UpdateConfigurationData_NotSupportedError_Call) Return ¶ added in v0.8.0
func (_c *UpdateConfigurationData_NotSupportedError_Call) Return(err error) *UpdateConfigurationData_NotSupportedError_Call
func (*UpdateConfigurationData_NotSupportedError_Call) Run ¶ added in v0.8.0
func (_c *UpdateConfigurationData_NotSupportedError_Call) Run(run func()) *UpdateConfigurationData_NotSupportedError_Call
func (*UpdateConfigurationData_NotSupportedError_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateConfigurationData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateConfigurationData_NotSupportedError_Call
type UpdateConfigurationData_Supported_Call ¶ added in v0.8.0
UpdateConfigurationData_Supported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Supported'
func (*UpdateConfigurationData_Supported_Call) Return ¶ added in v0.8.0
func (_c *UpdateConfigurationData_Supported_Call) Return(b bool) *UpdateConfigurationData_Supported_Call
func (*UpdateConfigurationData_Supported_Call) Run ¶ added in v0.8.0
func (_c *UpdateConfigurationData_Supported_Call) Run(run func()) *UpdateConfigurationData_Supported_Call
func (*UpdateConfigurationData_Supported_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateConfigurationData_Supported_Call) RunAndReturn(run func() bool) *UpdateConfigurationData_Supported_Call
type UpdateData ¶ added in v0.8.0
UpdateData is an autogenerated mock type for the UpdateData type
func NewUpdateData ¶ added in v0.8.0
func NewUpdateData(t interface {
mock.TestingT
Cleanup(func())
}) *UpdateData
NewUpdateData creates a new instance of UpdateData. 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 (*UpdateData) EXPECT ¶ added in v0.8.0
func (_m *UpdateData) EXPECT() *UpdateData_Expecter
func (*UpdateData) NotSupportedError ¶ added in v0.8.0
func (_mock *UpdateData) NotSupportedError() error
NotSupportedError provides a mock function for the type UpdateData
func (*UpdateData) Supported ¶ added in v0.8.0
func (_mock *UpdateData) Supported() bool
Supported provides a mock function for the type UpdateData
type UpdateData_Expecter ¶ added in v0.8.0
type UpdateData_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateData_Expecter) NotSupportedError ¶ added in v0.8.0
func (_e *UpdateData_Expecter) NotSupportedError() *UpdateData_NotSupportedError_Call
NotSupportedError is a helper method to define mock.On call
func (*UpdateData_Expecter) Supported ¶ added in v0.8.0
func (_e *UpdateData_Expecter) Supported() *UpdateData_Supported_Call
Supported is a helper method to define mock.On call
type UpdateData_NotSupportedError_Call ¶ added in v0.8.0
UpdateData_NotSupportedError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotSupportedError'
func (*UpdateData_NotSupportedError_Call) Return ¶ added in v0.8.0
func (_c *UpdateData_NotSupportedError_Call) Return(err error) *UpdateData_NotSupportedError_Call
func (*UpdateData_NotSupportedError_Call) Run ¶ added in v0.8.0
func (_c *UpdateData_NotSupportedError_Call) Run(run func()) *UpdateData_NotSupportedError_Call
func (*UpdateData_NotSupportedError_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateData_NotSupportedError_Call
type UpdateData_Supported_Call ¶ added in v0.8.0
UpdateData_Supported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Supported'
func (*UpdateData_Supported_Call) Return ¶ added in v0.8.0
func (_c *UpdateData_Supported_Call) Return(b bool) *UpdateData_Supported_Call
func (*UpdateData_Supported_Call) Run ¶ added in v0.8.0
func (_c *UpdateData_Supported_Call) Run(run func()) *UpdateData_Supported_Call
func (*UpdateData_Supported_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateData_Supported_Call) RunAndReturn(run func() bool) *UpdateData_Supported_Call
type UpdateMeasurementData ¶ added in v0.8.0
UpdateMeasurementData is an autogenerated mock type for the UpdateMeasurementData type
func NewUpdateMeasurementData ¶ added in v0.8.0
func NewUpdateMeasurementData(t interface {
mock.TestingT
Cleanup(func())
}) *UpdateMeasurementData
NewUpdateMeasurementData creates a new instance of UpdateMeasurementData. 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 (*UpdateMeasurementData) EXPECT ¶ added in v0.8.0
func (_m *UpdateMeasurementData) EXPECT() *UpdateMeasurementData_Expecter
func (*UpdateMeasurementData) MeasurementData ¶ added in v0.8.0
func (_mock *UpdateMeasurementData) MeasurementData() api.MeasurementDataForID
MeasurementData provides a mock function for the type UpdateMeasurementData
func (*UpdateMeasurementData) NotSupportedError ¶ added in v0.8.0
func (_mock *UpdateMeasurementData) NotSupportedError() error
NotSupportedError provides a mock function for the type UpdateMeasurementData
func (*UpdateMeasurementData) Supported ¶ added in v0.8.0
func (_mock *UpdateMeasurementData) Supported() bool
Supported provides a mock function for the type UpdateMeasurementData
type UpdateMeasurementData_Expecter ¶ added in v0.8.0
type UpdateMeasurementData_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateMeasurementData_Expecter) MeasurementData ¶ added in v0.8.0
func (_e *UpdateMeasurementData_Expecter) MeasurementData() *UpdateMeasurementData_MeasurementData_Call
MeasurementData is a helper method to define mock.On call
func (*UpdateMeasurementData_Expecter) NotSupportedError ¶ added in v0.8.0
func (_e *UpdateMeasurementData_Expecter) NotSupportedError() *UpdateMeasurementData_NotSupportedError_Call
NotSupportedError is a helper method to define mock.On call
func (*UpdateMeasurementData_Expecter) Supported ¶ added in v0.8.0
func (_e *UpdateMeasurementData_Expecter) Supported() *UpdateMeasurementData_Supported_Call
Supported is a helper method to define mock.On call
type UpdateMeasurementData_MeasurementData_Call ¶ added in v0.8.0
UpdateMeasurementData_MeasurementData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MeasurementData'
func (*UpdateMeasurementData_MeasurementData_Call) Return ¶ added in v0.8.0
func (_c *UpdateMeasurementData_MeasurementData_Call) Return(measurementDataForID api.MeasurementDataForID) *UpdateMeasurementData_MeasurementData_Call
func (*UpdateMeasurementData_MeasurementData_Call) Run ¶ added in v0.8.0
func (_c *UpdateMeasurementData_MeasurementData_Call) Run(run func()) *UpdateMeasurementData_MeasurementData_Call
func (*UpdateMeasurementData_MeasurementData_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateMeasurementData_MeasurementData_Call) RunAndReturn(run func() api.MeasurementDataForID) *UpdateMeasurementData_MeasurementData_Call
type UpdateMeasurementData_NotSupportedError_Call ¶ added in v0.8.0
UpdateMeasurementData_NotSupportedError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotSupportedError'
func (*UpdateMeasurementData_NotSupportedError_Call) Return ¶ added in v0.8.0
func (_c *UpdateMeasurementData_NotSupportedError_Call) Return(err error) *UpdateMeasurementData_NotSupportedError_Call
func (*UpdateMeasurementData_NotSupportedError_Call) Run ¶ added in v0.8.0
func (_c *UpdateMeasurementData_NotSupportedError_Call) Run(run func()) *UpdateMeasurementData_NotSupportedError_Call
func (*UpdateMeasurementData_NotSupportedError_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateMeasurementData_NotSupportedError_Call) RunAndReturn(run func() error) *UpdateMeasurementData_NotSupportedError_Call
type UpdateMeasurementData_Supported_Call ¶ added in v0.8.0
UpdateMeasurementData_Supported_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Supported'
func (*UpdateMeasurementData_Supported_Call) Return ¶ added in v0.8.0
func (_c *UpdateMeasurementData_Supported_Call) Return(b bool) *UpdateMeasurementData_Supported_Call
func (*UpdateMeasurementData_Supported_Call) Run ¶ added in v0.8.0
func (_c *UpdateMeasurementData_Supported_Call) Run(run func()) *UpdateMeasurementData_Supported_Call
func (*UpdateMeasurementData_Supported_Call) RunAndReturn ¶ added in v0.8.0
func (_c *UpdateMeasurementData_Supported_Call) RunAndReturn(run func() bool) *UpdateMeasurementData_Supported_Call
Source Files
¶
- CemCEVCInterface.go
- CemEVCCInterface.go
- CemEVCEMInterface.go
- CemEVSECCInterface.go
- CemEVSOCInterface.go
- CemOHPCFInterface.go
- CemOPEVInterface.go
- CemOSCEVInterface.go
- CemVABDInterface.go
- CemVAPDInterface.go
- CsLPCInterface.go
- CsLPPInterface.go
- EgLPCInterface.go
- EgLPPInterface.go
- GcpMGCPInterface.go
- MaMDTInterface.go
- MaMGCPInterface.go
- MaMPCInterface.go
- MuMPCInterface.go
- UpdateConfigurationData.go
- UpdateData.go
- UpdateMeasurementData.go