mocks

package
v0.8.0 Latest Latest
Warning

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CemCEVCInterface

type CemCEVCInterface struct {
	mock.Mock
}

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

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

func (*CemCEVCInterface_AddFeatures_Call) RunAndReturn

type CemCEVCInterface_AddUseCase_Call

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

func (*CemCEVCInterface_AddUseCase_Call) RunAndReturn

type CemCEVCInterface_AvailableScenariosForEntity_Call

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

func (*CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemCEVCInterface_ChargePlanConstraints_Call

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

func (*CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn

type CemCEVCInterface_ChargePlan_Call

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

func (*CemCEVCInterface_ChargePlan_Call) RunAndReturn

type CemCEVCInterface_ChargeStrategy_Call

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

func (*CemCEVCInterface_ChargeStrategy_Call) RunAndReturn

type CemCEVCInterface_EnergyDemand_Call

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

func (*CemCEVCInterface_EnergyDemand_Call) RunAndReturn

type CemCEVCInterface_Expecter

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

func (*CemCEVCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemCEVCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemCEVCInterface_Expecter) RemoveUseCase

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

StartHeartbeat is a helper method to define mock.On call

func (*CemCEVCInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn

type CemCEVCInterface_IsCompatibleEntityType_Call

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

func (*CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemCEVCInterface_IsScenarioAvailableAtEntity_Call

type CemCEVCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemCEVCInterface_RemoteEntitiesScenarios_Call

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

func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemCEVCInterface_RemoveUseCase_Call

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

func (*CemCEVCInterface_RemoveUseCase_Call) RunAndReturn

type CemCEVCInterface_SetOperatingState_Call added in v0.8.0

type CemCEVCInterface_SetOperatingState_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_SetOperatingState_Call) RunAndReturn added in v0.8.0

type CemCEVCInterface_StartHeartbeat_Call added in v0.8.0

type CemCEVCInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type CemCEVCInterface_StopHeartbeat_Call added in v0.8.0

type CemCEVCInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type CemCEVCInterface_TimeSlotConstraints_Call

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

func (*CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn

type CemCEVCInterface_UpdateUseCaseAvailability_Call

type CemCEVCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) Return

func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) Run

func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemCEVCInterface_WriteIncentiveTableDescriptions_Call

type CemCEVCInterface_WriteIncentiveTableDescriptions_Call struct {
	*mock.Call
}

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

func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Return

func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run

func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn

type CemCEVCInterface_WriteIncentives_Call

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

func (*CemCEVCInterface_WriteIncentives_Call) RunAndReturn

type CemCEVCInterface_WritePowerLimits_Call

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

func (*CemCEVCInterface_WritePowerLimits_Call) RunAndReturn

type CemEVCCInterface

type CemEVCCInterface struct {
	mock.Mock
}

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

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

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

func (*CemEVCCInterface_AddFeatures_Call) RunAndReturn

type CemEVCCInterface_AddUseCase_Call

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

func (*CemEVCCInterface_AddUseCase_Call) RunAndReturn

type CemEVCCInterface_AsymmetricChargingSupport_Call

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

func (*CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn

type CemEVCCInterface_AvailableScenariosForEntity_Call

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

func (*CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemEVCCInterface_ChargeState_Call

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

func (*CemEVCCInterface_ChargeState_Call) RunAndReturn

type CemEVCCInterface_ChargingPowerLimits_Call

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

func (*CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn

type CemEVCCInterface_CommunicationStandard_Call

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

type CemEVCCInterface_EVConnected_Call

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

func (*CemEVCCInterface_EVConnected_Call) RunAndReturn

type CemEVCCInterface_Expecter

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

func (*CemEVCCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemEVCCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemEVCCInterface_Expecter) RemoveUseCase

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

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

func (*CemEVCCInterface_Identifications_Call) RunAndReturn

type CemEVCCInterface_IsCompatibleEntityType_Call

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

func (*CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemEVCCInterface_IsInSleepMode_Call

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

func (*CemEVCCInterface_IsInSleepMode_Call) RunAndReturn

type CemEVCCInterface_IsScenarioAvailableAtEntity_Call

type CemEVCCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemEVCCInterface_ManufacturerData_Call

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

func (*CemEVCCInterface_ManufacturerData_Call) RunAndReturn

type CemEVCCInterface_RemoteEntitiesScenarios_Call

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

func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemEVCCInterface_RemoveUseCase_Call

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

func (*CemEVCCInterface_RemoveUseCase_Call) RunAndReturn

type CemEVCCInterface_UpdateUseCaseAvailability_Call

type CemEVCCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) Return

func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) Run

func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemEVCEMInterface

type CemEVCEMInterface struct {
	mock.Mock
}

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

CurrentPerPhase provides a mock function for the type CemEVCEMInterface

func (*CemEVCEMInterface) EXPECT

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

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

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

func (*CemEVCEMInterface_AddFeatures_Call) RunAndReturn

type CemEVCEMInterface_AddUseCase_Call

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

func (*CemEVCEMInterface_AddUseCase_Call) RunAndReturn

type CemEVCEMInterface_AvailableScenariosForEntity_Call

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

func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemEVCEMInterface_CurrentPerPhase_Call

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

type CemEVCEMInterface_EnergyCharged_Call

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

func (*CemEVCEMInterface_EnergyCharged_Call) RunAndReturn

type CemEVCEMInterface_Expecter

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

func (*CemEVCEMInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemEVCEMInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemEVCEMInterface_Expecter) RemoveUseCase

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

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

func (*CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call

type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemEVCEMInterface_PhasesConnected_Call

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

func (*CemEVCEMInterface_PhasesConnected_Call) RunAndReturn

type CemEVCEMInterface_PowerPerPhase_Call

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

type CemEVCEMInterface_RemoteEntitiesScenarios_Call

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

func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemEVCEMInterface_RemoveUseCase_Call

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

func (*CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn

type CemEVCEMInterface_UpdateUseCaseAvailability_Call

type CemEVCEMInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) Return

func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run

func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemEVSECCInterface

type CemEVSECCInterface struct {
	mock.Mock
}

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

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

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

func (*CemEVSECCInterface_AddFeatures_Call) RunAndReturn

type CemEVSECCInterface_AddUseCase_Call

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

func (*CemEVSECCInterface_AddUseCase_Call) RunAndReturn

type CemEVSECCInterface_AvailableScenariosForEntity_Call

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

func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemEVSECCInterface_Expecter

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

func (*CemEVSECCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemEVSECCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemEVSECCInterface_Expecter) RemoveUseCase

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

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

func (*CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call

type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemEVSECCInterface_ManufacturerData_Call

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

func (*CemEVSECCInterface_ManufacturerData_Call) RunAndReturn

type CemEVSECCInterface_OperatingState_Call

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

type CemEVSECCInterface_RemoteEntitiesScenarios_Call

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

func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemEVSECCInterface_RemoveUseCase_Call

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

func (*CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn

type CemEVSECCInterface_UpdateUseCaseAvailability_Call

type CemEVSECCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) Return

func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run

func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemEVSOCInterface

type CemEVSOCInterface struct {
	mock.Mock
}

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

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

func (*CemEVSOCInterface_AddFeatures_Call) RunAndReturn

type CemEVSOCInterface_AddUseCase_Call

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

func (*CemEVSOCInterface_AddUseCase_Call) RunAndReturn

type CemEVSOCInterface_AvailableScenariosForEntity_Call

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

func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemEVSOCInterface_Expecter

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

func (*CemEVSOCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemEVSOCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemEVSOCInterface_Expecter) RemoveUseCase

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

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

func (*CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call

type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemEVSOCInterface_RemoteEntitiesScenarios_Call

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

func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemEVSOCInterface_RemoveUseCase_Call

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

func (*CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn

type CemEVSOCInterface_StateOfCharge_Call

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

func (*CemEVSOCInterface_StateOfCharge_Call) RunAndReturn

type CemEVSOCInterface_UpdateUseCaseAvailability_Call

type CemEVSOCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) Return

func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run

func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemOHPCFInterface added in v0.8.0

type CemOHPCFInterface struct {
	mock.Mock
}

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

type CemOHPCFInterface_AbortPowerConsumptionProcess_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_AbortPowerConsumptionProcess_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_AddFeatures_Call added in v0.8.0

type CemOHPCFInterface_AddFeatures_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_AddFeatures_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_AddUseCase_Call added in v0.8.0

type CemOHPCFInterface_AddUseCase_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_AddUseCase_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_AvailableScenariosForEntity_Call added in v0.8.0

type CemOHPCFInterface_AvailableScenariosForEntity_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_AvailableScenariosForEntity_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_ConsumptionIsPausable_Call added in v0.8.0

type CemOHPCFInterface_ConsumptionIsPausable_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_ConsumptionIsPausable_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_ConsumptionIsStoppable_Call added in v0.8.0

type CemOHPCFInterface_ConsumptionIsStoppable_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_ConsumptionIsStoppable_Call) RunAndReturn added in v0.8.0

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

AddFeatures is a helper method to define mock.On call

func (*CemOHPCFInterface_Expecter) AddUseCase added in v0.8.0

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemOHPCFInterface_Expecter) RemoveUseCase added in v0.8.0

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

type CemOHPCFInterface_IsCompatibleEntityType_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_IsCompatibleEntityType_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_IsScenarioAvailableAtEntity_Call added in v0.8.0

type CemOHPCFInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Return added in v0.8.0

func (*CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) Run added in v0.8.0

func (*CemOHPCFInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call added in v0.8.0

type CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Return added in v0.8.0

func (*CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) Run added in v0.8.0

func (*CemOHPCFInterface_OptionalPowerConsumptionAvailable_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_OptionalPowerConsumption_Call added in v0.8.0

type CemOHPCFInterface_OptionalPowerConsumption_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_OptionalPowerConsumption_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_PausePowerConsumptionProcess_Call added in v0.8.0

type CemOHPCFInterface_PausePowerConsumptionProcess_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_PausePowerConsumptionProcess_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call added in v0.8.0

type CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_PowerConsumptionMinimalPauseDuration_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call added in v0.8.0

type CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_PowerConsumptionMinimalRunDuration_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_PowerConsumptionProcessStartTime_Call added in v0.8.0

type CemOHPCFInterface_PowerConsumptionProcessStartTime_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_PowerConsumptionProcessStartTime_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_PowerConsumptionProcessState_Call added in v0.8.0

type CemOHPCFInterface_PowerConsumptionProcessState_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_PowerConsumptionProcessState_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_RemoteEntitiesScenarios_Call added in v0.8.0

type CemOHPCFInterface_RemoteEntitiesScenarios_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_RemoteEntitiesScenarios_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_RemoveUseCase_Call added in v0.8.0

type CemOHPCFInterface_RemoveUseCase_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_RemoveUseCase_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_RequestedPowerEstimate_Call added in v0.8.0

type CemOHPCFInterface_RequestedPowerEstimate_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_RequestedPowerEstimate_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_RequestedPowerMax_Call added in v0.8.0

type CemOHPCFInterface_RequestedPowerMax_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_RequestedPowerMax_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_ResumePowerConsumptionProcess_Call added in v0.8.0

type CemOHPCFInterface_ResumePowerConsumptionProcess_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_ResumePowerConsumptionProcess_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_SchedulePowerConsumptionProcess_Call added in v0.8.0

type CemOHPCFInterface_SchedulePowerConsumptionProcess_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_SchedulePowerConsumptionProcess_Call) RunAndReturn added in v0.8.0

type CemOHPCFInterface_UpdateUseCaseAvailability_Call added in v0.8.0

type CemOHPCFInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemOHPCFInterface_UpdateUseCaseAvailability_Call) Return added in v0.8.0

func (*CemOHPCFInterface_UpdateUseCaseAvailability_Call) Run added in v0.8.0

func (*CemOHPCFInterface_UpdateUseCaseAvailability_Call) RunAndReturn added in v0.8.0

type CemOPEVInterface

type CemOPEVInterface struct {
	mock.Mock
}

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

CurrentLimits provides a mock function for the type CemOPEVInterface

func (*CemOPEVInterface) EXPECT

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

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

func (*CemOPEVInterface_AddFeatures_Call) RunAndReturn

type CemOPEVInterface_AddUseCase_Call

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

func (*CemOPEVInterface_AddUseCase_Call) RunAndReturn

type CemOPEVInterface_AvailableScenariosForEntity_Call

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

func (*CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemOPEVInterface_CurrentLimits_Call

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

type CemOPEVInterface_Expecter

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

func (*CemOPEVInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemOPEVInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemOPEVInterface_Expecter) RemoveUseCase

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

StartHeartbeat is a helper method to define mock.On call

func (*CemOPEVInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemOPEVInterface_IsScenarioAvailableAtEntity_Call

type CemOPEVInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemOPEVInterface_LoadControlLimits_Call

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

func (*CemOPEVInterface_LoadControlLimits_Call) RunAndReturn

type CemOPEVInterface_RemoteEntitiesScenarios_Call

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

func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemOPEVInterface_RemoveUseCase_Call

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

func (*CemOPEVInterface_RemoveUseCase_Call) RunAndReturn

type CemOPEVInterface_SetOperatingState_Call added in v0.8.0

type CemOPEVInterface_SetOperatingState_Call struct {
	*mock.Call
}

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

func (*CemOPEVInterface_SetOperatingState_Call) RunAndReturn added in v0.8.0

type CemOPEVInterface_StartHeartbeat_Call added in v0.8.0

type CemOPEVInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemOPEVInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type CemOPEVInterface_StopHeartbeat_Call added in v0.8.0

type CemOPEVInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemOPEVInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type CemOPEVInterface_UpdateUseCaseAvailability_Call

type CemOPEVInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) Return

func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) Run

func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemOPEVInterface_WriteLoadControlLimits_Call

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

func (*CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn

type CemOSCEVInterface

type CemOSCEVInterface struct {
	mock.Mock
}

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

CurrentLimits provides a mock function for the type CemOSCEVInterface

func (*CemOSCEVInterface) EXPECT

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

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

func (*CemOSCEVInterface_AddFeatures_Call) RunAndReturn

type CemOSCEVInterface_AddUseCase_Call

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

func (*CemOSCEVInterface_AddUseCase_Call) RunAndReturn

type CemOSCEVInterface_AvailableScenariosForEntity_Call

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

func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemOSCEVInterface_CurrentLimits_Call

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

type CemOSCEVInterface_Expecter

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

func (*CemOSCEVInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemOSCEVInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemOSCEVInterface_Expecter) RemoveUseCase

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

StartHeartbeat is a helper method to define mock.On call

func (*CemOSCEVInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call

type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemOSCEVInterface_LoadControlLimits_Call

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

func (*CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn

type CemOSCEVInterface_RemoteEntitiesScenarios_Call

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

func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemOSCEVInterface_RemoveUseCase_Call

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

func (*CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn

type CemOSCEVInterface_SetOperatingState_Call added in v0.8.0

type CemOSCEVInterface_SetOperatingState_Call struct {
	*mock.Call
}

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

func (*CemOSCEVInterface_SetOperatingState_Call) RunAndReturn added in v0.8.0

type CemOSCEVInterface_StartHeartbeat_Call added in v0.8.0

type CemOSCEVInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemOSCEVInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type CemOSCEVInterface_StopHeartbeat_Call added in v0.8.0

type CemOSCEVInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*CemOSCEVInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type CemOSCEVInterface_UpdateUseCaseAvailability_Call

type CemOSCEVInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) Return

func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run

func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemOSCEVInterface_WriteLoadControlLimits_Call

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

func (*CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn

type CemVABDInterface

type CemVABDInterface struct {
	mock.Mock
}

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

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

func (*CemVABDInterface_AddFeatures_Call) RunAndReturn

type CemVABDInterface_AddUseCase_Call

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

func (*CemVABDInterface_AddUseCase_Call) RunAndReturn

type CemVABDInterface_AvailableScenariosForEntity_Call

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

func (*CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemVABDInterface_EnergyCharged_Call

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

func (*CemVABDInterface_EnergyCharged_Call) RunAndReturn

type CemVABDInterface_EnergyDischarged_Call

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

func (*CemVABDInterface_EnergyDischarged_Call) RunAndReturn

type CemVABDInterface_Expecter

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

func (*CemVABDInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemVABDInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemVABDInterface_Expecter) RemoveUseCase

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

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

func (*CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemVABDInterface_IsScenarioAvailableAtEntity_Call

type CemVABDInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemVABDInterface_Power_Call

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

func (*CemVABDInterface_Power_Call) RunAndReturn

type CemVABDInterface_RemoteEntitiesScenarios_Call

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

func (*CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemVABDInterface_RemoveUseCase_Call

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

func (*CemVABDInterface_RemoveUseCase_Call) RunAndReturn

type CemVABDInterface_StateOfCharge_Call

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

func (*CemVABDInterface_StateOfCharge_Call) RunAndReturn

type CemVABDInterface_UpdateUseCaseAvailability_Call

type CemVABDInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemVABDInterface_UpdateUseCaseAvailability_Call) Return

func (*CemVABDInterface_UpdateUseCaseAvailability_Call) Run

func (*CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CemVAPDInterface

type CemVAPDInterface struct {
	mock.Mock
}

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

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

func (*CemVAPDInterface_AddFeatures_Call) RunAndReturn

type CemVAPDInterface_AddUseCase_Call

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

func (*CemVAPDInterface_AddUseCase_Call) RunAndReturn

type CemVAPDInterface_AvailableScenariosForEntity_Call

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

func (*CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CemVAPDInterface_Expecter

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

func (*CemVAPDInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CemVAPDInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CemVAPDInterface_Expecter) RemoveUseCase

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

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

func (*CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn

type CemVAPDInterface_IsScenarioAvailableAtEntity_Call

type CemVAPDInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CemVAPDInterface_PVYieldTotal_Call

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

func (*CemVAPDInterface_PVYieldTotal_Call) RunAndReturn

type CemVAPDInterface_PowerNominalPeak_Call

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

func (*CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn

type CemVAPDInterface_Power_Call

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

func (*CemVAPDInterface_Power_Call) RunAndReturn

type CemVAPDInterface_RemoteEntitiesScenarios_Call

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

func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CemVAPDInterface_RemoveUseCase_Call

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

func (*CemVAPDInterface_RemoveUseCase_Call) RunAndReturn

type CemVAPDInterface_UpdateUseCaseAvailability_Call

type CemVAPDInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) Return

func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) Run

func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CsLPCInterface

type CsLPCInterface struct {
	mock.Mock
}

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

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

func (*CsLPCInterface_AddFeatures_Call) RunAndReturn

type CsLPCInterface_AddUseCase_Call

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

func (*CsLPCInterface_AddUseCase_Call) RunAndReturn

func (_c *CsLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *CsLPCInterface_AddUseCase_Call

type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call

type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Return

func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run

func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn

type CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call added in v0.8.0

type CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Return added in v0.8.0

func (*CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) Run added in v0.8.0

func (*CsLPCInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn added in v0.8.0

type CsLPCInterface_AvailableScenariosForEntity_Call

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

func (*CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CsLPCInterface_ConsumptionLimit_Call

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

func (*CsLPCInterface_ConsumptionLimit_Call) RunAndReturn

type CsLPCInterface_ConsumptionNominalMax_Call added in v0.6.2

type CsLPCInterface_ConsumptionNominalMax_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn added in v0.6.2

type CsLPCInterface_Expecter

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

func (*CsLPCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) AddUseCase

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

ConsumptionLimit is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) ConsumptionNominalMax added in v0.6.2

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

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

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

PendingConsumptionLimits is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) PendingDeviceConfigurations added in v0.8.0

PendingDeviceConfigurations is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) RemoteEntitiesScenarios

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) RemoveUseCase

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

StartHeartbeat is a helper method to define mock.On call

func (*CsLPCInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn

type CsLPCInterface_FailsafeDurationMinimum_Call

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

func (*CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn

type CsLPCInterface_IsCompatibleEntityType_Call

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

func (*CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn

type CsLPCInterface_IsHeartbeatWithinDuration_Call

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

func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn

type CsLPCInterface_IsScenarioAvailableAtEntity_Call

type CsLPCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CsLPCInterface_PendingConsumptionLimits_Call

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

func (*CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn

type CsLPCInterface_PendingDeviceConfigurations_Call added in v0.8.0

type CsLPCInterface_PendingDeviceConfigurations_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_PendingDeviceConfigurations_Call) RunAndReturn added in v0.8.0

type CsLPCInterface_RemoteEntitiesScenarios_Call

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

func (*CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CsLPCInterface_RemoveUseCase_Call

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

func (*CsLPCInterface_RemoveUseCase_Call) RunAndReturn

type CsLPCInterface_SetConsumptionLimit_Call

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

func (*CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn

type CsLPCInterface_SetConsumptionNominalMax_Call added in v0.6.2

type CsLPCInterface_SetConsumptionNominalMax_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn added in v0.6.2

type CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call

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

func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn

type CsLPCInterface_SetFailsafeDurationMinimum_Call

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

func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn

type CsLPCInterface_StartHeartbeat_Call added in v0.8.0

type CsLPCInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type CsLPCInterface_StopHeartbeat_Call added in v0.8.0

type CsLPCInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type CsLPCInterface_UpdateUseCaseAvailability_Call

type CsLPCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CsLPCInterface_UpdateUseCaseAvailability_Call) Return

func (*CsLPCInterface_UpdateUseCaseAvailability_Call) Run

func (*CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type CsLPPInterface

type CsLPPInterface struct {
	mock.Mock
}

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

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

func (*CsLPPInterface_AddFeatures_Call) RunAndReturn

type CsLPPInterface_AddUseCase_Call

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

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

type CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Return added in v0.8.0

func (*CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) Run added in v0.8.0

func (*CsLPPInterface_ApproveOrDenyDeviceConfiguration_Call) RunAndReturn added in v0.8.0

type CsLPPInterface_ApproveOrDenyProductionLimit_Call

type CsLPPInterface_ApproveOrDenyProductionLimit_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) Return

func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run

func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn

type CsLPPInterface_AvailableScenariosForEntity_Call

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

func (*CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn

type CsLPPInterface_Expecter

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

func (*CsLPPInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) AddUseCase

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

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

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

PendingDeviceConfigurations is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) PendingProductionLimits

PendingProductionLimits is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) ProductionLimit

ProductionLimit is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) ProductionNominalMax added in v0.6.2

ProductionNominalMax is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) RemoteEntitiesScenarios

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) RemoveUseCase

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

StartHeartbeat is a helper method to define mock.On call

func (*CsLPPInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn

type CsLPPInterface_FailsafeProductionActivePowerLimit_Call

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

func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn

type CsLPPInterface_IsCompatibleEntityType_Call

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

func (*CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn

type CsLPPInterface_IsHeartbeatWithinDuration_Call

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

func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn

type CsLPPInterface_IsScenarioAvailableAtEntity_Call

type CsLPPInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) Return

func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run

func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type CsLPPInterface_PendingDeviceConfigurations_Call added in v0.8.0

type CsLPPInterface_PendingDeviceConfigurations_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_PendingDeviceConfigurations_Call) RunAndReturn added in v0.8.0

type CsLPPInterface_PendingProductionLimits_Call

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

func (*CsLPPInterface_PendingProductionLimits_Call) RunAndReturn

type CsLPPInterface_ProductionLimit_Call

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

func (*CsLPPInterface_ProductionLimit_Call) RunAndReturn

type CsLPPInterface_ProductionNominalMax_Call added in v0.6.2

type CsLPPInterface_ProductionNominalMax_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_ProductionNominalMax_Call) RunAndReturn added in v0.6.2

type CsLPPInterface_RemoteEntitiesScenarios_Call

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

func (*CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type CsLPPInterface_RemoveUseCase_Call

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

func (*CsLPPInterface_RemoveUseCase_Call) RunAndReturn

type CsLPPInterface_SetFailsafeDurationMinimum_Call

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

func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn

type CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call

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

func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn

type CsLPPInterface_SetProductionLimit_Call

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

func (*CsLPPInterface_SetProductionLimit_Call) RunAndReturn

type CsLPPInterface_SetProductionNominalMax_Call added in v0.6.2

type CsLPPInterface_SetProductionNominalMax_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn added in v0.6.2

type CsLPPInterface_StartHeartbeat_Call added in v0.8.0

type CsLPPInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type CsLPPInterface_StopHeartbeat_Call added in v0.8.0

type CsLPPInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type CsLPPInterface_UpdateUseCaseAvailability_Call

type CsLPPInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*CsLPPInterface_UpdateUseCaseAvailability_Call) Return

func (*CsLPPInterface_UpdateUseCaseAvailability_Call) Run

func (*CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type EgLPCInterface

type EgLPCInterface struct {
	mock.Mock
}

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

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

func (*EgLPCInterface_AddFeatures_Call) RunAndReturn

type EgLPCInterface_AddUseCase_Call

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

func (*EgLPCInterface_AddUseCase_Call) RunAndReturn

func (_c *EgLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPCInterface_AddUseCase_Call

type EgLPCInterface_AvailableScenariosForEntity_Call

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

func (*EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type EgLPCInterface_ConsumptionLimit_Call

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

func (*EgLPCInterface_ConsumptionLimit_Call) RunAndReturn

type EgLPCInterface_ConsumptionNominalMax_Call added in v0.6.2

type EgLPCInterface_ConsumptionNominalMax_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn added in v0.6.2

type EgLPCInterface_Expecter

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

func (*EgLPCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*EgLPCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*EgLPCInterface_Expecter) RemoveUseCase

RemoveUseCase is a helper method to define mock.On call

func (*EgLPCInterface_Expecter) StartHeartbeat added in v0.8.0

StartHeartbeat is a helper method to define mock.On call

func (*EgLPCInterface_Expecter) StopHeartbeat added in v0.8.0

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

type EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return

func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run

func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn

type EgLPCInterface_FailsafeDurationMinimum_Call

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

func (*EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn

type EgLPCInterface_IsCompatibleEntityType_Call

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

func (*EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn

type EgLPCInterface_IsHeartbeatWithinDuration_Call added in v0.8.0

type EgLPCInterface_IsHeartbeatWithinDuration_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn added in v0.8.0

type EgLPCInterface_IsScenarioAvailableAtEntity_Call

type EgLPCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type EgLPCInterface_RemoteEntitiesScenarios_Call

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

func (*EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type EgLPCInterface_RemoveUseCase_Call

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

func (*EgLPCInterface_RemoveUseCase_Call) RunAndReturn

type EgLPCInterface_StartHeartbeat_Call added in v0.8.0

type EgLPCInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type EgLPCInterface_StopHeartbeat_Call added in v0.8.0

type EgLPCInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type EgLPCInterface_UpdateUseCaseAvailability_Call

type EgLPCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*EgLPCInterface_UpdateUseCaseAvailability_Call) Return

func (*EgLPCInterface_UpdateUseCaseAvailability_Call) Run

func (*EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type EgLPCInterface_WriteConsumptionLimit_Call

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

func (*EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn

type EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call

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

func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn

type EgLPCInterface_WriteFailsafeDurationMinimum_Call

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

func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn

type EgLPPInterface

type EgLPPInterface struct {
	mock.Mock
}

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

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

func (*EgLPPInterface_AddFeatures_Call) RunAndReturn

type EgLPPInterface_AddUseCase_Call

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

func (*EgLPPInterface_AddUseCase_Call) RunAndReturn

func (_c *EgLPPInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPPInterface_AddUseCase_Call

type EgLPPInterface_AvailableScenariosForEntity_Call

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

func (*EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn

type EgLPPInterface_Expecter

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

func (*EgLPPInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*EgLPPInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*EgLPPInterface_Expecter) RemoveUseCase

RemoveUseCase is a helper method to define mock.On call

func (*EgLPPInterface_Expecter) StartHeartbeat added in v0.8.0

StartHeartbeat is a helper method to define mock.On call

func (*EgLPPInterface_Expecter) StopHeartbeat added in v0.8.0

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

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

func (*EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn

type EgLPPInterface_FailsafeProductionActivePowerLimit_Call

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

func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn

type EgLPPInterface_IsCompatibleEntityType_Call

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

func (*EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn

type EgLPPInterface_IsHeartbeatWithinDuration_Call added in v0.8.0

type EgLPPInterface_IsHeartbeatWithinDuration_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn added in v0.8.0

type EgLPPInterface_IsScenarioAvailableAtEntity_Call

type EgLPPInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) Return

func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run

func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type EgLPPInterface_ProductionLimit_Call

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

func (*EgLPPInterface_ProductionLimit_Call) RunAndReturn

type EgLPPInterface_ProductionNominalMax_Call added in v0.6.2

type EgLPPInterface_ProductionNominalMax_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_ProductionNominalMax_Call) RunAndReturn added in v0.6.2

type EgLPPInterface_RemoteEntitiesScenarios_Call

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

func (*EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type EgLPPInterface_RemoveUseCase_Call

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

func (*EgLPPInterface_RemoveUseCase_Call) RunAndReturn

type EgLPPInterface_StartHeartbeat_Call added in v0.8.0

type EgLPPInterface_StartHeartbeat_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_StartHeartbeat_Call) RunAndReturn added in v0.8.0

type EgLPPInterface_StopHeartbeat_Call added in v0.8.0

type EgLPPInterface_StopHeartbeat_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_StopHeartbeat_Call) RunAndReturn added in v0.8.0

type EgLPPInterface_UpdateUseCaseAvailability_Call

type EgLPPInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*EgLPPInterface_UpdateUseCaseAvailability_Call) Return

func (*EgLPPInterface_UpdateUseCaseAvailability_Call) Run

func (*EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type EgLPPInterface_WriteFailsafeDurationMinimum_Call

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

func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn

type EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call

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

func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn

type EgLPPInterface_WriteProductionLimit_Call

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

func (*EgLPPInterface_WriteProductionLimit_Call) RunAndReturn

type GcpMGCPInterface

type GcpMGCPInterface struct {
	mock.Mock
}

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

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

func (*GcpMGCPInterface_AddFeatures_Call) RunAndReturn

type GcpMGCPInterface_AddUseCase_Call

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

func (*GcpMGCPInterface_AddUseCase_Call) RunAndReturn

type GcpMGCPInterface_AvailableScenariosForEntity_Call

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

func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn

type GcpMGCPInterface_CurrentPerPhase_Call

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

func (*GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn

type GcpMGCPInterface_EnergyConsumed_Call

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

func (*GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn

type GcpMGCPInterface_EnergyFeedIn_Call

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

func (*GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn

type GcpMGCPInterface_Expecter

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

func (*GcpMGCPInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) AddUseCase

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

CurrentPerPhase is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) EnergyConsumed

EnergyConsumed is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) EnergyFeedIn

EnergyFeedIn is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) Frequency

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

PowerLimitationFactor is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) PowerTotal added in v0.8.0

PowerTotal is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) RemoteEntitiesScenarios

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*GcpMGCPInterface_Expecter) RemoveUseCase

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

VoltagePerPhase is a helper method to define mock.On call

type GcpMGCPInterface_Frequency_Call

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

func (*GcpMGCPInterface_Frequency_Call) RunAndReturn

type GcpMGCPInterface_IsCompatibleEntityType_Call

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

func (*GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn

type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call

type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Return

func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run

func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type GcpMGCPInterface_PowerLimitationFactor_Call

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

func (*GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn

type GcpMGCPInterface_PowerTotal_Call added in v0.8.0

type GcpMGCPInterface_PowerTotal_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_PowerTotal_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_RemoteEntitiesScenarios_Call

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

func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type GcpMGCPInterface_RemoveUseCase_Call

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

func (*GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn

type GcpMGCPInterface_UpdateDataCurrentPhaseA_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataCurrentPhaseA_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataCurrentPhaseB_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataCurrentPhaseB_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataCurrentPhaseC_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataCurrentPhaseC_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataEnergyConsumed_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataEnergyConsumed_Call struct {
	*mock.Call
}

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

type GcpMGCPInterface_UpdateDataEnergyFeedIn_Call struct {
	*mock.Call
}

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

type GcpMGCPInterface_UpdateDataFrequency_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataFrequency_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataPowerLimitationFactor_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataPowerTotal_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataPowerTotal_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataPowerTotal_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseA_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseA_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseB_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseB_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseCToA_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseC_Call added in v0.8.0

type GcpMGCPInterface_UpdateDataVoltagePhaseC_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn added in v0.8.0

type GcpMGCPInterface_UpdateUseCaseAvailability_Call

type GcpMGCPInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) Return

func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run

func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type GcpMGCPInterface_Update_Call added in v0.8.0

type GcpMGCPInterface_Update_Call struct {
	*mock.Call
}

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

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

func (*GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn

type MaMDTInterface added in v0.8.0

type MaMDTInterface struct {
	mock.Mock
}

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

type MaMDTInterface_AddFeatures_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_AddFeatures_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_AddUseCase_Call added in v0.8.0

type MaMDTInterface_AddUseCase_Call struct {
	*mock.Call
}

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

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

type MaMDTInterface_AvailableScenariosForEntity_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_AvailableScenariosForEntity_Call) RunAndReturn added in v0.8.0

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

AddFeatures is a helper method to define mock.On call

func (*MaMDTInterface_Expecter) AddUseCase added in v0.8.0

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*MaMDTInterface_Expecter) RemoveUseCase added in v0.8.0

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

type MaMDTInterface_IsCompatibleEntityType_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_IsCompatibleEntityType_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_IsScenarioAvailableAtEntity_Call added in v0.8.0

type MaMDTInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_IsScenarioAvailableAtEntity_Call) Return added in v0.8.0

func (*MaMDTInterface_IsScenarioAvailableAtEntity_Call) Run added in v0.8.0

func (*MaMDTInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_RemoteEntitiesScenarios_Call added in v0.8.0

type MaMDTInterface_RemoteEntitiesScenarios_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_RemoteEntitiesScenarios_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_RemoveUseCase_Call added in v0.8.0

type MaMDTInterface_RemoveUseCase_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_RemoveUseCase_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_Temperature_Call added in v0.8.0

type MaMDTInterface_Temperature_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_Temperature_Call) RunAndReturn added in v0.8.0

type MaMDTInterface_UpdateUseCaseAvailability_Call added in v0.8.0

type MaMDTInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*MaMDTInterface_UpdateUseCaseAvailability_Call) Return added in v0.8.0

func (*MaMDTInterface_UpdateUseCaseAvailability_Call) Run added in v0.8.0

func (*MaMDTInterface_UpdateUseCaseAvailability_Call) RunAndReturn added in v0.8.0

type MaMGCPInterface

type MaMGCPInterface struct {
	mock.Mock
}

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

CurrentPerPhase provides a mock function for the type MaMGCPInterface

func (*MaMGCPInterface) EXPECT

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

VoltagePerPhase provides a mock function for the type MaMGCPInterface

type MaMGCPInterface_AddFeatures_Call

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

func (*MaMGCPInterface_AddFeatures_Call) RunAndReturn

type MaMGCPInterface_AddUseCase_Call

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

func (*MaMGCPInterface_AddUseCase_Call) RunAndReturn

type MaMGCPInterface_AvailableScenariosForEntity_Call

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

func (*MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn

type MaMGCPInterface_CurrentPerPhase_Call

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

type MaMGCPInterface_EnergyConsumed_Call

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

func (*MaMGCPInterface_EnergyConsumed_Call) RunAndReturn

type MaMGCPInterface_EnergyFeedIn_Call

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

func (*MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn

type MaMGCPInterface_Expecter

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

func (*MaMGCPInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*MaMGCPInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*MaMGCPInterface_Expecter) RemoveUseCase

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

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

func (*MaMGCPInterface_Frequency_Call) RunAndReturn

type MaMGCPInterface_IsCompatibleEntityType_Call

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

func (*MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn

type MaMGCPInterface_IsScenarioAvailableAtEntity_Call

type MaMGCPInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Return

func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run

func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type MaMGCPInterface_PowerLimitationFactor_Call

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

func (*MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn

type MaMGCPInterface_Power_Call

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

func (*MaMGCPInterface_Power_Call) RunAndReturn

type MaMGCPInterface_RemoteEntitiesScenarios_Call

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

func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type MaMGCPInterface_RemoveUseCase_Call

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

func (*MaMGCPInterface_RemoveUseCase_Call) RunAndReturn

type MaMGCPInterface_UpdateUseCaseAvailability_Call

type MaMGCPInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) Return

func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) Run

func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type MaMGCPInterface_VoltagePerPhase_Call

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

type MaMPCInterface

type MaMPCInterface struct {
	mock.Mock
}

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

CurrentPerPhase provides a mock function for the type MaMPCInterface

func (*MaMPCInterface) EXPECT

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

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

VoltagePerPhase provides a mock function for the type MaMPCInterface

type MaMPCInterface_AddFeatures_Call

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

func (*MaMPCInterface_AddFeatures_Call) RunAndReturn

type MaMPCInterface_AddUseCase_Call

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

func (*MaMPCInterface_AddUseCase_Call) RunAndReturn

func (_c *MaMPCInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMPCInterface_AddUseCase_Call

type MaMPCInterface_AvailableScenariosForEntity_Call

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

func (*MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn

type MaMPCInterface_CurrentPerPhase_Call

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

type MaMPCInterface_EnergyConsumed_Call

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

func (*MaMPCInterface_EnergyConsumed_Call) RunAndReturn

type MaMPCInterface_EnergyProduced_Call

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

func (*MaMPCInterface_EnergyProduced_Call) RunAndReturn

type MaMPCInterface_Expecter

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

func (*MaMPCInterface_Expecter) AddFeatures

AddFeatures is a helper method to define mock.On call

func (*MaMPCInterface_Expecter) AddUseCase

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

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*MaMPCInterface_Expecter) RemoveUseCase

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

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

func (*MaMPCInterface_Frequency_Call) RunAndReturn

type MaMPCInterface_IsCompatibleEntityType_Call

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

func (*MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn

type MaMPCInterface_IsScenarioAvailableAtEntity_Call

type MaMPCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) Return

func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run

func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn

type MaMPCInterface_PowerPerPhase_Call

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

type MaMPCInterface_Power_Call

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

func (*MaMPCInterface_Power_Call) RunAndReturn

type MaMPCInterface_RemoteEntitiesScenarios_Call

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

func (*MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn

type MaMPCInterface_RemoveUseCase_Call

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

func (*MaMPCInterface_RemoveUseCase_Call) RunAndReturn

type MaMPCInterface_UpdateUseCaseAvailability_Call

type MaMPCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*MaMPCInterface_UpdateUseCaseAvailability_Call) Return

func (*MaMPCInterface_UpdateUseCaseAvailability_Call) Run

func (*MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn

type MaMPCInterface_VoltagePerPhase_Call

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

type MuMPCInterface added in v0.8.0

type MuMPCInterface struct {
	mock.Mock
}

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

type MuMPCInterface_AddFeatures_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_AddFeatures_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_AddUseCase_Call added in v0.8.0

type MuMPCInterface_AddUseCase_Call struct {
	*mock.Call
}

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

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

type MuMPCInterface_AvailableScenariosForEntity_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_CurrentPerPhase_Call added in v0.8.0

type MuMPCInterface_CurrentPerPhase_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_CurrentPerPhase_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_EnergyConsumed_Call added in v0.8.0

type MuMPCInterface_EnergyConsumed_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_EnergyConsumed_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_EnergyProduced_Call added in v0.8.0

type MuMPCInterface_EnergyProduced_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_EnergyProduced_Call) RunAndReturn added in v0.8.0

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

AddFeatures is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) AddUseCase added in v0.8.0

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

CurrentPerPhase is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) EnergyConsumed added in v0.8.0

EnergyConsumed is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) EnergyProduced added in v0.8.0

EnergyProduced is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) Frequency added in v0.8.0

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

Power is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) PowerPerPhase added in v0.8.0

PowerPerPhase is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) RemoteEntitiesScenarios added in v0.8.0

RemoteEntitiesScenarios is a helper method to define mock.On call

func (*MuMPCInterface_Expecter) RemoveUseCase added in v0.8.0

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

VoltagePerPhase is a helper method to define mock.On call

type MuMPCInterface_Frequency_Call added in v0.8.0

type MuMPCInterface_Frequency_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_Frequency_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_IsCompatibleEntityType_Call added in v0.8.0

type MuMPCInterface_IsCompatibleEntityType_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_IsCompatibleEntityType_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_IsScenarioAvailableAtEntity_Call added in v0.8.0

type MuMPCInterface_IsScenarioAvailableAtEntity_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_IsScenarioAvailableAtEntity_Call) Return added in v0.8.0

func (*MuMPCInterface_IsScenarioAvailableAtEntity_Call) Run added in v0.8.0

func (*MuMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_PowerPerPhase_Call added in v0.8.0

type MuMPCInterface_PowerPerPhase_Call struct {
	*mock.Call
}

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

type MuMPCInterface_Power_Call added in v0.8.0

type MuMPCInterface_Power_Call struct {
	*mock.Call
}

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

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

type MuMPCInterface_RemoteEntitiesScenarios_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_RemoveUseCase_Call added in v0.8.0

type MuMPCInterface_RemoveUseCase_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_RemoveUseCase_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseA_Call added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseA_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataCurrentPhaseA_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseB_Call added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseB_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataCurrentPhaseB_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseC_Call added in v0.8.0

type MuMPCInterface_UpdateDataCurrentPhaseC_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataCurrentPhaseC_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataEnergyConsumed_Call added in v0.8.0

type MuMPCInterface_UpdateDataEnergyConsumed_Call struct {
	*mock.Call
}

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

type MuMPCInterface_UpdateDataEnergyProduced_Call added in v0.8.0

type MuMPCInterface_UpdateDataEnergyProduced_Call struct {
	*mock.Call
}

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

type MuMPCInterface_UpdateDataFrequency_Call added in v0.8.0

type MuMPCInterface_UpdateDataFrequency_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataFrequency_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseA_Call added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseA_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataPowerPhaseA_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseB_Call added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseB_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataPowerPhaseB_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseC_Call added in v0.8.0

type MuMPCInterface_UpdateDataPowerPhaseC_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataPowerPhaseC_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataPowerTotal_Call added in v0.8.0

type MuMPCInterface_UpdateDataPowerTotal_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataPowerTotal_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseAToB_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseAToB_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseAToB_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseAToC_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseAToC_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseAToC_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseA_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseA_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseA_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseBToC_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseBToC_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseBToC_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseB_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseB_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseB_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseC_Call added in v0.8.0

type MuMPCInterface_UpdateDataVoltagePhaseC_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateDataVoltagePhaseC_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_UpdateUseCaseAvailability_Call added in v0.8.0

type MuMPCInterface_UpdateUseCaseAvailability_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_UpdateUseCaseAvailability_Call) Return added in v0.8.0

func (*MuMPCInterface_UpdateUseCaseAvailability_Call) Run added in v0.8.0

func (*MuMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_Update_Call added in v0.8.0

type MuMPCInterface_Update_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_Update_Call) RunAndReturn added in v0.8.0

type MuMPCInterface_VoltagePerPhase_Call added in v0.8.0

type MuMPCInterface_VoltagePerPhase_Call struct {
	*mock.Call
}

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

func (*MuMPCInterface_VoltagePerPhase_Call) RunAndReturn added in v0.8.0

type UpdateConfigurationData added in v0.8.0

type UpdateConfigurationData struct {
	mock.Mock
}

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

ConfigurationData provides a mock function for the type UpdateConfigurationData

func (*UpdateConfigurationData) EXPECT added in v0.8.0

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

type UpdateConfigurationData_ConfigurationData_Call struct {
	*mock.Call
}

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

func (*UpdateConfigurationData_ConfigurationData_Call) RunAndReturn added in v0.8.0

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

ConfigurationData is a helper method to define mock.On call

func (*UpdateConfigurationData_Expecter) NotSupportedError added in v0.8.0

NotSupportedError is a helper method to define mock.On call

func (*UpdateConfigurationData_Expecter) Supported added in v0.8.0

Supported is a helper method to define mock.On call

type UpdateConfigurationData_NotSupportedError_Call added in v0.8.0

type UpdateConfigurationData_NotSupportedError_Call struct {
	*mock.Call
}

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

func (*UpdateConfigurationData_NotSupportedError_Call) RunAndReturn added in v0.8.0

type UpdateConfigurationData_Supported_Call added in v0.8.0

type UpdateConfigurationData_Supported_Call struct {
	*mock.Call
}

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

func (*UpdateConfigurationData_Supported_Call) RunAndReturn added in v0.8.0

type UpdateData added in v0.8.0

type UpdateData struct {
	mock.Mock
}

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

Supported is a helper method to define mock.On call

type UpdateData_NotSupportedError_Call added in v0.8.0

type UpdateData_NotSupportedError_Call struct {
	*mock.Call
}

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

func (*UpdateData_NotSupportedError_Call) RunAndReturn added in v0.8.0

type UpdateData_Supported_Call added in v0.8.0

type UpdateData_Supported_Call struct {
	*mock.Call
}

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

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

type UpdateMeasurementData struct {
	mock.Mock
}

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

MeasurementData is a helper method to define mock.On call

func (*UpdateMeasurementData_Expecter) NotSupportedError added in v0.8.0

NotSupportedError is a helper method to define mock.On call

func (*UpdateMeasurementData_Expecter) Supported added in v0.8.0

Supported is a helper method to define mock.On call

type UpdateMeasurementData_MeasurementData_Call added in v0.8.0

type UpdateMeasurementData_MeasurementData_Call struct {
	*mock.Call
}

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

func (*UpdateMeasurementData_MeasurementData_Call) RunAndReturn added in v0.8.0

type UpdateMeasurementData_NotSupportedError_Call added in v0.8.0

type UpdateMeasurementData_NotSupportedError_Call struct {
	*mock.Call
}

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

func (*UpdateMeasurementData_NotSupportedError_Call) RunAndReturn added in v0.8.0

type UpdateMeasurementData_Supported_Call added in v0.8.0

type UpdateMeasurementData_Supported_Call struct {
	*mock.Call
}

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

func (*UpdateMeasurementData_Supported_Call) RunAndReturn added in v0.8.0

Jump to

Keyboard shortcuts

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