mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 6 Imported by: 0

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 (_m *CemCEVCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemCEVCInterface) AddUseCase

func (_m *CemCEVCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemCEVCInterface) AvailableScenariosForEntity

func (_m *CemCEVCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemCEVCInterface) ChargePlan

ChargePlan provides a mock function with given fields: entity

func (*CemCEVCInterface) ChargePlanConstraints

func (_m *CemCEVCInterface) ChargePlanConstraints(entity spine_goapi.EntityRemoteInterface) ([]api.DurationSlotValue, error)

ChargePlanConstraints provides a mock function with given fields: entity

func (*CemCEVCInterface) ChargeStrategy

ChargeStrategy provides a mock function with given fields: remoteEntity

func (*CemCEVCInterface) EXPECT

func (*CemCEVCInterface) EnergyDemand

func (_m *CemCEVCInterface) EnergyDemand(remoteEntity spine_goapi.EntityRemoteInterface) (api.Demand, error)

EnergyDemand provides a mock function with given fields: remoteEntity

func (*CemCEVCInterface) IncentiveConstraints

IncentiveConstraints provides a mock function with given fields: entity

func (*CemCEVCInterface) IsCompatibleEntityType

func (_m *CemCEVCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemCEVCInterface) IsScenarioAvailableAtEntity

func (_m *CemCEVCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemCEVCInterface) RemoteEntitiesScenarios

func (_m *CemCEVCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemCEVCInterface) RemoveUseCase

func (_m *CemCEVCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemCEVCInterface) TimeSlotConstraints

TimeSlotConstraints provides a mock function with given fields: entity

func (*CemCEVCInterface) UpdateUseCaseAvailability

func (_m *CemCEVCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*CemCEVCInterface) WriteIncentiveTableDescriptions

func (_m *CemCEVCInterface) WriteIncentiveTableDescriptions(entity spine_goapi.EntityRemoteInterface, data []api.IncentiveTariffDescription) error

WriteIncentiveTableDescriptions provides a mock function with given fields: entity, data

func (*CemCEVCInterface) WriteIncentives

func (_m *CemCEVCInterface) WriteIncentives(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error

WriteIncentives provides a mock function with given fields: entity, data

func (*CemCEVCInterface) WritePowerLimits

func (_m *CemCEVCInterface) WritePowerLimits(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error

WritePowerLimits provides a mock function with given fields: entity, data

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

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

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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) TimeSlotConstraints

func (_e *CemCEVCInterface_Expecter) TimeSlotConstraints(entity interface{}) *CemCEVCInterface_TimeSlotConstraints_Call

TimeSlotConstraints is a helper method to define mock.On call

  • entity spine_goapi.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 spine_goapi.EntityRemoteInterface
  • data []api.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 spine_goapi.EntityRemoteInterface
  • data []api.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 spine_goapi.EntityRemoteInterface
  • data []api.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

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_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

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

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

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

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 (_m *CemEVCCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemEVCCInterface) AddUseCase

func (_m *CemEVCCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemEVCCInterface) AsymmetricChargingSupport

func (_m *CemEVCCInterface) AsymmetricChargingSupport(entity spine_goapi.EntityRemoteInterface) (bool, error)

AsymmetricChargingSupport provides a mock function with given fields: entity

func (*CemEVCCInterface) AvailableScenariosForEntity

func (_m *CemEVCCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemEVCCInterface) ChargeState

ChargeState provides a mock function with given fields: entity

func (*CemEVCCInterface) ChargingPowerLimits

func (_m *CemEVCCInterface) ChargingPowerLimits(entity spine_goapi.EntityRemoteInterface) (float64, float64, float64, error)

ChargingPowerLimits provides a mock function with given fields: entity

func (*CemEVCCInterface) CommunicationStandard

CommunicationStandard provides a mock function with given fields: entity

func (*CemEVCCInterface) EVConnected

func (_m *CemEVCCInterface) EVConnected(entity spine_goapi.EntityRemoteInterface) bool

EVConnected provides a mock function with given fields: entity

func (*CemEVCCInterface) EXPECT

func (*CemEVCCInterface) Identifications

Identifications provides a mock function with given fields: entity

func (*CemEVCCInterface) IsCompatibleEntityType

func (_m *CemEVCCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemEVCCInterface) IsInSleepMode

func (_m *CemEVCCInterface) IsInSleepMode(entity spine_goapi.EntityRemoteInterface) (bool, error)

IsInSleepMode provides a mock function with given fields: entity

func (*CemEVCCInterface) IsScenarioAvailableAtEntity

func (_m *CemEVCCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemEVCCInterface) ManufacturerData

ManufacturerData provides a mock function with given fields: entity

func (*CemEVCCInterface) RemoteEntitiesScenarios

func (_m *CemEVCCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemEVCCInterface) RemoveUseCase

func (_m *CemEVCCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemEVCCInterface) UpdateUseCaseAvailability

func (_m *CemEVCCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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

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

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) 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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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

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

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 (_m *CemEVCEMInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemEVCEMInterface) AddUseCase

func (_m *CemEVCEMInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemEVCEMInterface) AvailableScenariosForEntity

func (_m *CemEVCEMInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemEVCEMInterface) CurrentPerPhase

func (_m *CemEVCEMInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

CurrentPerPhase provides a mock function with given fields: entity

func (*CemEVCEMInterface) EXPECT

func (*CemEVCEMInterface) EnergyCharged

func (_m *CemEVCEMInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyCharged provides a mock function with given fields: entity

func (*CemEVCEMInterface) IsCompatibleEntityType

func (_m *CemEVCEMInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemEVCEMInterface) IsScenarioAvailableAtEntity

func (_m *CemEVCEMInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemEVCEMInterface) PhasesConnected

func (_m *CemEVCEMInterface) PhasesConnected(entity spine_goapi.EntityRemoteInterface) (uint, error)

PhasesConnected provides a mock function with given fields: entity

func (*CemEVCEMInterface) PowerPerPhase

func (_m *CemEVCEMInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

PowerPerPhase provides a mock function with given fields: entity

func (*CemEVCEMInterface) RemoteEntitiesScenarios

func (_m *CemEVCEMInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemEVCEMInterface) RemoveUseCase

func (_m *CemEVCEMInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemEVCEMInterface) UpdateUseCaseAvailability

func (_m *CemEVCEMInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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

func (*CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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

func (*CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn

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 (_m *CemEVSECCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemEVSECCInterface) AddUseCase

func (_m *CemEVSECCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemEVSECCInterface) AvailableScenariosForEntity

func (_m *CemEVSECCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemEVSECCInterface) EXPECT

func (*CemEVSECCInterface) IsCompatibleEntityType

func (_m *CemEVSECCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemEVSECCInterface) IsScenarioAvailableAtEntity

func (_m *CemEVSECCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemEVSECCInterface) ManufacturerData

ManufacturerData provides a mock function with given fields: entity

func (*CemEVSECCInterface) OperatingState

OperatingState provides a mock function with given fields: entity

func (*CemEVSECCInterface) RemoteEntitiesScenarios

func (_m *CemEVSECCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemEVSECCInterface) RemoveUseCase

func (_m *CemEVSECCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemEVSECCInterface) UpdateUseCaseAvailability

func (_m *CemEVSECCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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

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) 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 (_m *CemEVSOCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemEVSOCInterface) AddUseCase

func (_m *CemEVSOCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemEVSOCInterface) AvailableScenariosForEntity

func (_m *CemEVSOCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemEVSOCInterface) EXPECT

func (*CemEVSOCInterface) IsCompatibleEntityType

func (_m *CemEVSOCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemEVSOCInterface) IsScenarioAvailableAtEntity

func (_m *CemEVSOCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemEVSOCInterface) RemoteEntitiesScenarios

func (_m *CemEVSOCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemEVSOCInterface) RemoveUseCase

func (_m *CemEVSOCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemEVSOCInterface) StateOfCharge

func (_m *CemEVSOCInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)

StateOfCharge provides a mock function with given fields: entity

func (*CemEVSOCInterface) UpdateUseCaseAvailability

func (_m *CemEVSOCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 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 (_m *CemOPEVInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemOPEVInterface) AddUseCase

func (_m *CemOPEVInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemOPEVInterface) AvailableScenariosForEntity

func (_m *CemOPEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemOPEVInterface) CurrentLimits

func (_m *CemOPEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)

CurrentLimits provides a mock function with given fields: entity

func (*CemOPEVInterface) EXPECT

func (*CemOPEVInterface) IsCompatibleEntityType

func (_m *CemOPEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemOPEVInterface) IsScenarioAvailableAtEntity

func (_m *CemOPEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemOPEVInterface) LoadControlLimits

func (_m *CemOPEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)

LoadControlLimits provides a mock function with given fields: entity

func (*CemOPEVInterface) RemoteEntitiesScenarios

func (_m *CemOPEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemOPEVInterface) RemoveUseCase

func (_m *CemOPEVInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemOPEVInterface) UpdateUseCaseAvailability

func (_m *CemOPEVInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*CemOPEVInterface) WriteLoadControlLimits

func (_m *CemOPEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)

WriteLoadControlLimits provides a mock function with given fields: entity, limits, resultCB

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 (*CemOPEVInterface_CurrentLimits_Call) Run

func (*CemOPEVInterface_CurrentLimits_Call) RunAndReturn

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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) 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 spine_goapi.EntityRemoteInterface
  • limits []api.LoadLimitsPhase
  • resultCB func(model.ResultDataType)

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_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

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 (_m *CemOSCEVInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemOSCEVInterface) AddUseCase

func (_m *CemOSCEVInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemOSCEVInterface) AvailableScenariosForEntity

func (_m *CemOSCEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemOSCEVInterface) CurrentLimits

func (_m *CemOSCEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)

CurrentLimits provides a mock function with given fields: entity

func (*CemOSCEVInterface) EXPECT

func (*CemOSCEVInterface) IsCompatibleEntityType

func (_m *CemOSCEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemOSCEVInterface) IsScenarioAvailableAtEntity

func (_m *CemOSCEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemOSCEVInterface) LoadControlLimits

func (_m *CemOSCEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)

LoadControlLimits provides a mock function with given fields: entity

func (*CemOSCEVInterface) RemoteEntitiesScenarios

func (_m *CemOSCEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemOSCEVInterface) RemoveUseCase

func (_m *CemOSCEVInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemOSCEVInterface) UpdateUseCaseAvailability

func (_m *CemOSCEVInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*CemOSCEVInterface) WriteLoadControlLimits

func (_m *CemOSCEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)

WriteLoadControlLimits provides a mock function with given fields: entity, limits, resultCB

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 (*CemOSCEVInterface_CurrentLimits_Call) Run

func (*CemOSCEVInterface_CurrentLimits_Call) RunAndReturn

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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) 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 spine_goapi.EntityRemoteInterface
  • limits []api.LoadLimitsPhase
  • resultCB func(model.ResultDataType)

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_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

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 (_m *CemVABDInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemVABDInterface) AddUseCase

func (_m *CemVABDInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemVABDInterface) AvailableScenariosForEntity

func (_m *CemVABDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemVABDInterface) EXPECT

func (*CemVABDInterface) EnergyCharged

func (_m *CemVABDInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyCharged provides a mock function with given fields: entity

func (*CemVABDInterface) EnergyDischarged

func (_m *CemVABDInterface) EnergyDischarged(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyDischarged provides a mock function with given fields: entity

func (*CemVABDInterface) IsCompatibleEntityType

func (_m *CemVABDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemVABDInterface) IsScenarioAvailableAtEntity

func (_m *CemVABDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemVABDInterface) Power

Power provides a mock function with given fields: entity

func (*CemVABDInterface) RemoteEntitiesScenarios

func (_m *CemVABDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemVABDInterface) RemoveUseCase

func (_m *CemVABDInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemVABDInterface) StateOfCharge

func (_m *CemVABDInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)

StateOfCharge provides a mock function with given fields: entity

func (*CemVABDInterface) UpdateUseCaseAvailability

func (_m *CemVABDInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 (_m *CemVAPDInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CemVAPDInterface) AddUseCase

func (_m *CemVAPDInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CemVAPDInterface) AvailableScenariosForEntity

func (_m *CemVAPDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CemVAPDInterface) EXPECT

func (*CemVAPDInterface) IsCompatibleEntityType

func (_m *CemVAPDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CemVAPDInterface) IsScenarioAvailableAtEntity

func (_m *CemVAPDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CemVAPDInterface) PVYieldTotal

func (_m *CemVAPDInterface) PVYieldTotal(entity spine_goapi.EntityRemoteInterface) (float64, error)

PVYieldTotal provides a mock function with given fields: entity

func (*CemVAPDInterface) Power

Power provides a mock function with given fields: entity

func (*CemVAPDInterface) PowerNominalPeak

func (_m *CemVAPDInterface) PowerNominalPeak(entity spine_goapi.EntityRemoteInterface) (float64, error)

PowerNominalPeak provides a mock function with given fields: entity

func (*CemVAPDInterface) RemoteEntitiesScenarios

func (_m *CemVAPDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CemVAPDInterface) RemoveUseCase

func (_m *CemVAPDInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CemVAPDInterface) UpdateUseCaseAvailability

func (_m *CemVAPDInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 (_m *CsLPCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CsLPCInterface) AddUseCase

func (_m *CsLPCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CsLPCInterface) ApproveOrDenyConsumptionLimit

func (_m *CsLPCInterface) ApproveOrDenyConsumptionLimit(msgCounter model.MsgCounterType, approve bool, reason string)

ApproveOrDenyConsumptionLimit provides a mock function with given fields: msgCounter, approve, reason

func (*CsLPCInterface) AvailableScenariosForEntity

func (_m *CsLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CsLPCInterface) ConsumptionLimit

func (_m *CsLPCInterface) ConsumptionLimit() (api.LoadLimit, error)

ConsumptionLimit provides a mock function with given fields:

func (*CsLPCInterface) ConsumptionNominalMax added in v0.6.2

func (_m *CsLPCInterface) ConsumptionNominalMax() (float64, error)

ConsumptionNominalMax provides a mock function with given fields:

func (*CsLPCInterface) EXPECT

func (*CsLPCInterface) FailsafeConsumptionActivePowerLimit

func (_m *CsLPCInterface) FailsafeConsumptionActivePowerLimit() (float64, bool, error)

FailsafeConsumptionActivePowerLimit provides a mock function with given fields:

func (*CsLPCInterface) FailsafeDurationMinimum

func (_m *CsLPCInterface) FailsafeDurationMinimum() (time.Duration, bool, error)

FailsafeDurationMinimum provides a mock function with given fields:

func (*CsLPCInterface) IsCompatibleEntityType

func (_m *CsLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CsLPCInterface) IsHeartbeatWithinDuration

func (_m *CsLPCInterface) IsHeartbeatWithinDuration() bool

IsHeartbeatWithinDuration provides a mock function with given fields:

func (*CsLPCInterface) IsScenarioAvailableAtEntity

func (_m *CsLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CsLPCInterface) PendingConsumptionLimits

func (_m *CsLPCInterface) PendingConsumptionLimits() map[model.MsgCounterType]api.LoadLimit

PendingConsumptionLimits provides a mock function with given fields:

func (*CsLPCInterface) RemoteEntitiesScenarios

func (_m *CsLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CsLPCInterface) RemoveUseCase

func (_m *CsLPCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CsLPCInterface) SetConsumptionLimit

func (_m *CsLPCInterface) SetConsumptionLimit(limit api.LoadLimit) error

SetConsumptionLimit provides a mock function with given fields: limit

func (*CsLPCInterface) SetConsumptionNominalMax added in v0.6.2

func (_m *CsLPCInterface) SetConsumptionNominalMax(value float64) error

SetConsumptionNominalMax provides a mock function with given fields: value

func (*CsLPCInterface) SetFailsafeConsumptionActivePowerLimit

func (_m *CsLPCInterface) SetFailsafeConsumptionActivePowerLimit(value float64, changeable bool) error

SetFailsafeConsumptionActivePowerLimit provides a mock function with given fields: value, changeable

func (*CsLPCInterface) SetFailsafeDurationMinimum

func (_m *CsLPCInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error

SetFailsafeDurationMinimum provides a mock function with given fields: duration, changeable

func (*CsLPCInterface) UpdateUseCaseAvailability

func (_m *CsLPCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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_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) AvailableScenariosForEntity

func (_e *CsLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPCInterface_AvailableScenariosForEntity_Call

AvailableScenariosForEntity is a helper method to define mock.On call

  • entity spine_goapi.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 spine_goapi.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 spine_goapi.EntityRemoteInterface
  • scenario uint

func (*CsLPCInterface_Expecter) PendingConsumptionLimits

PendingConsumptionLimits 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 api.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) 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_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_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 (_m *CsLPPInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*CsLPPInterface) AddUseCase

func (_m *CsLPPInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*CsLPPInterface) ApproveOrDenyProductionLimit

func (_m *CsLPPInterface) ApproveOrDenyProductionLimit(msgCounter model.MsgCounterType, approve bool, reason string)

ApproveOrDenyProductionLimit provides a mock function with given fields: msgCounter, approve, reason

func (*CsLPPInterface) AvailableScenariosForEntity

func (_m *CsLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*CsLPPInterface) EXPECT

func (*CsLPPInterface) FailsafeDurationMinimum

func (_m *CsLPPInterface) FailsafeDurationMinimum() (time.Duration, bool, error)

FailsafeDurationMinimum provides a mock function with given fields:

func (*CsLPPInterface) FailsafeProductionActivePowerLimit

func (_m *CsLPPInterface) FailsafeProductionActivePowerLimit() (float64, bool, error)

FailsafeProductionActivePowerLimit provides a mock function with given fields:

func (*CsLPPInterface) IsCompatibleEntityType

func (_m *CsLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*CsLPPInterface) IsHeartbeatWithinDuration

func (_m *CsLPPInterface) IsHeartbeatWithinDuration() bool

IsHeartbeatWithinDuration provides a mock function with given fields:

func (*CsLPPInterface) IsScenarioAvailableAtEntity

func (_m *CsLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*CsLPPInterface) PendingProductionLimits

func (_m *CsLPPInterface) PendingProductionLimits() map[model.MsgCounterType]api.LoadLimit

PendingProductionLimits provides a mock function with given fields:

func (*CsLPPInterface) ProductionLimit

func (_m *CsLPPInterface) ProductionLimit() (api.LoadLimit, error)

ProductionLimit provides a mock function with given fields:

func (*CsLPPInterface) ProductionNominalMax added in v0.6.2

func (_m *CsLPPInterface) ProductionNominalMax() (float64, error)

ProductionNominalMax provides a mock function with given fields:

func (*CsLPPInterface) RemoteEntitiesScenarios

func (_m *CsLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*CsLPPInterface) RemoveUseCase

func (_m *CsLPPInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*CsLPPInterface) SetFailsafeDurationMinimum

func (_m *CsLPPInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error

SetFailsafeDurationMinimum provides a mock function with given fields: duration, changeable

func (*CsLPPInterface) SetFailsafeProductionActivePowerLimit

func (_m *CsLPPInterface) SetFailsafeProductionActivePowerLimit(value float64, changeable bool) error

SetFailsafeProductionActivePowerLimit provides a mock function with given fields: value, changeable

func (*CsLPPInterface) SetProductionLimit

func (_m *CsLPPInterface) SetProductionLimit(limit api.LoadLimit) error

SetProductionLimit provides a mock function with given fields: limit

func (*CsLPPInterface) SetProductionNominalMax added in v0.6.2

func (_m *CsLPPInterface) SetProductionNominalMax(value float64) error

SetProductionNominalMax provides a mock function with given fields: value

func (*CsLPPInterface) UpdateUseCaseAvailability

func (_m *CsLPPInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

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_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) 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 spine_goapi.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 spine_goapi.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 spine_goapi.EntityRemoteInterface
  • scenario uint

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 api.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) 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_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_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 (_m *EgLPCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*EgLPCInterface) AddUseCase

func (_m *EgLPCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*EgLPCInterface) AvailableScenariosForEntity

func (_m *EgLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*EgLPCInterface) ConsumptionLimit

func (_m *EgLPCInterface) ConsumptionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)

ConsumptionLimit provides a mock function with given fields: entity

func (*EgLPCInterface) ConsumptionNominalMax added in v0.6.2

func (_m *EgLPCInterface) ConsumptionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)

ConsumptionNominalMax provides a mock function with given fields: entity

func (*EgLPCInterface) EXPECT

func (*EgLPCInterface) FailsafeConsumptionActivePowerLimit

func (_m *EgLPCInterface) FailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)

FailsafeConsumptionActivePowerLimit provides a mock function with given fields: entity

func (*EgLPCInterface) FailsafeDurationMinimum

func (_m *EgLPCInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)

FailsafeDurationMinimum provides a mock function with given fields: entity

func (*EgLPCInterface) IsCompatibleEntityType

func (_m *EgLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*EgLPCInterface) IsScenarioAvailableAtEntity

func (_m *EgLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*EgLPCInterface) RemoteEntitiesScenarios

func (_m *EgLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*EgLPCInterface) RemoveUseCase

func (_m *EgLPCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*EgLPCInterface) UpdateUseCaseAvailability

func (_m *EgLPCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*EgLPCInterface) WriteConsumptionLimit

func (_m *EgLPCInterface) WriteConsumptionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)

WriteConsumptionLimit provides a mock function with given fields: entity, limit, resultCB

func (*EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit

func (_m *EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)

WriteFailsafeConsumptionActivePowerLimit provides a mock function with given fields: entity, value

func (*EgLPCInterface) WriteFailsafeDurationMinimum

func (_m *EgLPCInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)

WriteFailsafeDurationMinimum provides a mock function with given fields: entity, duration

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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) 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 spine_goapi.EntityRemoteInterface
  • limit api.LoadLimit
  • resultCB func(model.ResultDataType)

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 spine_goapi.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 spine_goapi.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_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_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

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

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

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 (_m *EgLPPInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*EgLPPInterface) AddUseCase

func (_m *EgLPPInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*EgLPPInterface) AvailableScenariosForEntity

func (_m *EgLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*EgLPPInterface) EXPECT

func (*EgLPPInterface) FailsafeDurationMinimum

func (_m *EgLPPInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)

FailsafeDurationMinimum provides a mock function with given fields: entity

func (*EgLPPInterface) FailsafeProductionActivePowerLimit

func (_m *EgLPPInterface) FailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)

FailsafeProductionActivePowerLimit provides a mock function with given fields: entity

func (*EgLPPInterface) IsCompatibleEntityType

func (_m *EgLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*EgLPPInterface) IsScenarioAvailableAtEntity

func (_m *EgLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*EgLPPInterface) ProductionLimit

func (_m *EgLPPInterface) ProductionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)

ProductionLimit provides a mock function with given fields: entity

func (*EgLPPInterface) ProductionNominalMax added in v0.6.2

func (_m *EgLPPInterface) ProductionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)

ProductionNominalMax provides a mock function with given fields: entity

func (*EgLPPInterface) RemoteEntitiesScenarios

func (_m *EgLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*EgLPPInterface) RemoveUseCase

func (_m *EgLPPInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*EgLPPInterface) UpdateUseCaseAvailability

func (_m *EgLPPInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*EgLPPInterface) WriteFailsafeDurationMinimum

func (_m *EgLPPInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)

WriteFailsafeDurationMinimum provides a mock function with given fields: entity, duration

func (*EgLPPInterface) WriteFailsafeProductionActivePowerLimit

func (_m *EgLPPInterface) WriteFailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)

WriteFailsafeProductionActivePowerLimit provides a mock function with given fields: entity, value

func (*EgLPPInterface) WriteProductionLimit

func (_m *EgLPPInterface) WriteProductionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)

WriteProductionLimit provides a mock function with given fields: entity, limit, resultCB

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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) 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 spine_goapi.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 spine_goapi.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 spine_goapi.EntityRemoteInterface
  • limit api.LoadLimit
  • resultCB func(model.ResultDataType)

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_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_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

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

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

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 (_m *GcpMGCPInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*GcpMGCPInterface) AddUseCase

func (_m *GcpMGCPInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*GcpMGCPInterface) AvailableScenariosForEntity

func (_m *GcpMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*GcpMGCPInterface) CurrentPerPhase

func (_m *GcpMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

CurrentPerPhase provides a mock function with given fields: entity

func (*GcpMGCPInterface) EXPECT

func (*GcpMGCPInterface) EnergyConsumed

func (_m *GcpMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyConsumed provides a mock function with given fields: entity

func (*GcpMGCPInterface) EnergyFeedIn

func (_m *GcpMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyFeedIn provides a mock function with given fields: entity

func (*GcpMGCPInterface) Frequency

Frequency provides a mock function with given fields: entity

func (*GcpMGCPInterface) IsCompatibleEntityType

func (_m *GcpMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*GcpMGCPInterface) IsScenarioAvailableAtEntity

func (_m *GcpMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*GcpMGCPInterface) Power

Power provides a mock function with given fields: entity

func (*GcpMGCPInterface) PowerLimitationFactor

func (_m *GcpMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)

PowerLimitationFactor provides a mock function with given fields: entity

func (*GcpMGCPInterface) RemoteEntitiesScenarios

func (_m *GcpMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*GcpMGCPInterface) RemoveUseCase

func (_m *GcpMGCPInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*GcpMGCPInterface) UpdateUseCaseAvailability

func (_m *GcpMGCPInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*GcpMGCPInterface) VoltagePerPhase

func (_m *GcpMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

VoltagePerPhase provides a mock function with given fields: entity

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 spine_goapi.EntityRemoteInterface

func (*GcpMGCPInterface_Expecter) CurrentPerPhase

func (_e *GcpMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *GcpMGCPInterface_CurrentPerPhase_Call

CurrentPerPhase is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

func (*GcpMGCPInterface_Expecter) EnergyConsumed

func (_e *GcpMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *GcpMGCPInterface_EnergyConsumed_Call

EnergyConsumed is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

func (*GcpMGCPInterface_Expecter) EnergyFeedIn

func (_e *GcpMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *GcpMGCPInterface_EnergyFeedIn_Call

EnergyFeedIn is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

func (*GcpMGCPInterface_Expecter) Frequency

func (_e *GcpMGCPInterface_Expecter) Frequency(entity interface{}) *GcpMGCPInterface_Frequency_Call

Frequency is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

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 spine_goapi.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 spine_goapi.EntityRemoteInterface
  • scenario uint

func (*GcpMGCPInterface_Expecter) Power

func (_e *GcpMGCPInterface_Expecter) Power(entity interface{}) *GcpMGCPInterface_Power_Call

Power is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

func (*GcpMGCPInterface_Expecter) PowerLimitationFactor

func (_e *GcpMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *GcpMGCPInterface_PowerLimitationFactor_Call

PowerLimitationFactor is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

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) UpdateUseCaseAvailability

func (_e *GcpMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *GcpMGCPInterface_UpdateUseCaseAvailability_Call

UpdateUseCaseAvailability is a helper method to define mock.On call

  • available bool

func (*GcpMGCPInterface_Expecter) VoltagePerPhase

func (_e *GcpMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *GcpMGCPInterface_VoltagePerPhase_Call

VoltagePerPhase is a helper method to define mock.On call

  • entity spine_goapi.EntityRemoteInterface

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_Power_Call

type GcpMGCPInterface_Power_Call struct {
	*mock.Call
}

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

func (*GcpMGCPInterface_Power_Call) Return

func (*GcpMGCPInterface_Power_Call) Run

func (*GcpMGCPInterface_Power_Call) RunAndReturn

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_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_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 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 (_m *MaMGCPInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*MaMGCPInterface) AddUseCase

func (_m *MaMGCPInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*MaMGCPInterface) AvailableScenariosForEntity

func (_m *MaMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*MaMGCPInterface) CurrentPerPhase

func (_m *MaMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

CurrentPerPhase provides a mock function with given fields: entity

func (*MaMGCPInterface) EXPECT

func (*MaMGCPInterface) EnergyConsumed

func (_m *MaMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyConsumed provides a mock function with given fields: entity

func (*MaMGCPInterface) EnergyFeedIn

func (_m *MaMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyFeedIn provides a mock function with given fields: entity

func (*MaMGCPInterface) Frequency

Frequency provides a mock function with given fields: entity

func (*MaMGCPInterface) IsCompatibleEntityType

func (_m *MaMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*MaMGCPInterface) IsScenarioAvailableAtEntity

func (_m *MaMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*MaMGCPInterface) Power

Power provides a mock function with given fields: entity

func (*MaMGCPInterface) PowerLimitationFactor

func (_m *MaMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)

PowerLimitationFactor provides a mock function with given fields: entity

func (*MaMGCPInterface) RemoteEntitiesScenarios

func (_m *MaMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*MaMGCPInterface) RemoveUseCase

func (_m *MaMGCPInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*MaMGCPInterface) UpdateUseCaseAvailability

func (_m *MaMGCPInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*MaMGCPInterface) VoltagePerPhase

func (_m *MaMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

VoltagePerPhase provides a mock function with given fields: entity

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

func (*MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn

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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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 spine_goapi.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

func (*MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn

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 (_m *MaMPCInterface) AddFeatures()

AddFeatures provides a mock function with given fields:

func (*MaMPCInterface) AddUseCase

func (_m *MaMPCInterface) AddUseCase()

AddUseCase provides a mock function with given fields:

func (*MaMPCInterface) AvailableScenariosForEntity

func (_m *MaMPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint

AvailableScenariosForEntity provides a mock function with given fields: entity

func (*MaMPCInterface) CurrentPerPhase

func (_m *MaMPCInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

CurrentPerPhase provides a mock function with given fields: entity

func (*MaMPCInterface) EXPECT

func (*MaMPCInterface) EnergyConsumed

func (_m *MaMPCInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyConsumed provides a mock function with given fields: entity

func (*MaMPCInterface) EnergyProduced

func (_m *MaMPCInterface) EnergyProduced(entity spine_goapi.EntityRemoteInterface) (float64, error)

EnergyProduced provides a mock function with given fields: entity

func (*MaMPCInterface) Frequency

Frequency provides a mock function with given fields: entity

func (*MaMPCInterface) IsCompatibleEntityType

func (_m *MaMPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool

IsCompatibleEntityType provides a mock function with given fields: entity

func (*MaMPCInterface) IsScenarioAvailableAtEntity

func (_m *MaMPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool

IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario

func (*MaMPCInterface) Power

Power provides a mock function with given fields: entity

func (*MaMPCInterface) PowerPerPhase

func (_m *MaMPCInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

PowerPerPhase provides a mock function with given fields: entity

func (*MaMPCInterface) RemoteEntitiesScenarios

func (_m *MaMPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios

RemoteEntitiesScenarios provides a mock function with given fields:

func (*MaMPCInterface) RemoveUseCase

func (_m *MaMPCInterface) RemoveUseCase()

RemoveUseCase provides a mock function with given fields:

func (*MaMPCInterface) UpdateUseCaseAvailability

func (_m *MaMPCInterface) UpdateUseCaseAvailability(available bool)

UpdateUseCaseAvailability provides a mock function with given fields: available

func (*MaMPCInterface) VoltagePerPhase

func (_m *MaMPCInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)

VoltagePerPhase provides a mock function with given fields: entity

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

func (*MaMPCInterface_CurrentPerPhase_Call) RunAndReturn

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

func (*MaMPCInterface_VoltagePerPhase_Call) RunAndReturn

Jump to

Keyboard shortcuts

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