Documentation
¶
Index ¶
- type MockCertificatesChargePointHandler
- func (_m *MockCertificatesChargePointHandler) EXPECT() *MockCertificatesChargePointHandler_Expecter
- func (_m *MockCertificatesChargePointHandler) OnDeleteCertificate(request *certificates.DeleteCertificateRequest) (*certificates.DeleteCertificateResponse, error)
- func (_m *MockCertificatesChargePointHandler) OnGetInstalledCertificateIds(request *certificates.GetInstalledCertificateIdsRequest) (*certificates.GetInstalledCertificateIdsResponse, error)
- func (_m *MockCertificatesChargePointHandler) OnInstallCertificate(request *certificates.InstallCertificateRequest) (*certificates.InstallCertificateResponse, error)
- type MockCertificatesChargePointHandler_Expecter
- func (_e *MockCertificatesChargePointHandler_Expecter) OnDeleteCertificate(request interface{}) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
- func (_e *MockCertificatesChargePointHandler_Expecter) OnGetInstalledCertificateIds(request interface{}) *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
- func (_e *MockCertificatesChargePointHandler_Expecter) OnInstallCertificate(request interface{}) *MockCertificatesChargePointHandler_OnInstallCertificate_Call
- type MockCertificatesChargePointHandler_OnDeleteCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnDeleteCertificate_Call) Return(response *certificates.DeleteCertificateResponse, err error) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnDeleteCertificate_Call) Run(run func(request *certificates.DeleteCertificateRequest)) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnDeleteCertificate_Call) RunAndReturn(...) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
- type MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
- func (_c *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) Return(response *certificates.GetInstalledCertificateIdsResponse, err error) *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
- func (_c *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) Run(run func(request *certificates.GetInstalledCertificateIdsRequest)) *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
- func (_c *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) RunAndReturn(...) *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
- type MockCertificatesChargePointHandler_OnInstallCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnInstallCertificate_Call) Return(response *certificates.InstallCertificateResponse, err error) *MockCertificatesChargePointHandler_OnInstallCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnInstallCertificate_Call) Run(run func(request *certificates.InstallCertificateRequest)) *MockCertificatesChargePointHandler_OnInstallCertificate_Call
- func (_c *MockCertificatesChargePointHandler_OnInstallCertificate_Call) RunAndReturn(...) *MockCertificatesChargePointHandler_OnInstallCertificate_Call
- type MockChargePointConnectionHandler
- type MockChargePointConnectionHandler_Execute_Call
- func (_c *MockChargePointConnectionHandler_Execute_Call) Return() *MockChargePointConnectionHandler_Execute_Call
- func (_c *MockChargePointConnectionHandler_Execute_Call) Run(run func(chargePoint ocpp16.ChargePointConnection)) *MockChargePointConnectionHandler_Execute_Call
- func (_c *MockChargePointConnectionHandler_Execute_Call) RunAndReturn(run func(ocpp16.ChargePointConnection)) *MockChargePointConnectionHandler_Execute_Call
- type MockChargePointConnectionHandler_Expecter
- type MockCoreCentralSystemHandler
- func (_m *MockCoreCentralSystemHandler) EXPECT() *MockCoreCentralSystemHandler_Expecter
- func (_m *MockCoreCentralSystemHandler) OnAuthorize(chargePointId string, request *core.AuthorizeRequest) (*core.AuthorizeConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnBootNotification(chargePointId string, request *core.BootNotificationRequest) (*core.BootNotificationConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnDataTransfer(chargePointId string, request *core.DataTransferRequest) (*core.DataTransferConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnHeartbeat(chargePointId string, request *core.HeartbeatRequest) (*core.HeartbeatConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnMeterValues(chargePointId string, request *core.MeterValuesRequest) (*core.MeterValuesConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnStartTransaction(chargePointId string, request *core.StartTransactionRequest) (*core.StartTransactionConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnStatusNotification(chargePointId string, request *core.StatusNotificationRequest) (*core.StatusNotificationConfirmation, error)
- func (_m *MockCoreCentralSystemHandler) OnStopTransaction(chargePointId string, request *core.StopTransactionRequest) (*core.StopTransactionConfirmation, error)
- type MockCoreCentralSystemHandler_Expecter
- func (_e *MockCoreCentralSystemHandler_Expecter) OnAuthorize(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnAuthorize_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnBootNotification(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnBootNotification_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnDataTransfer(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnDataTransfer_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnHeartbeat(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnHeartbeat_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnMeterValues(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnMeterValues_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnStartTransaction(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStartTransaction_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnStatusNotification(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStatusNotification_Call
- func (_e *MockCoreCentralSystemHandler_Expecter) OnStopTransaction(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStopTransaction_Call
- type MockCoreCentralSystemHandler_OnAuthorize_Call
- func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) Return(confirmation *core.AuthorizeConfirmation, err error) *MockCoreCentralSystemHandler_OnAuthorize_Call
- func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) Run(run func(chargePointId string, request *core.AuthorizeRequest)) *MockCoreCentralSystemHandler_OnAuthorize_Call
- func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) RunAndReturn(run func(string, *core.AuthorizeRequest) (*core.AuthorizeConfirmation, error)) *MockCoreCentralSystemHandler_OnAuthorize_Call
- type MockCoreCentralSystemHandler_OnBootNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) Return(confirmation *core.BootNotificationConfirmation, err error) *MockCoreCentralSystemHandler_OnBootNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) Run(run func(chargePointId string, request *core.BootNotificationRequest)) *MockCoreCentralSystemHandler_OnBootNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnBootNotification_Call
- type MockCoreCentralSystemHandler_OnDataTransfer_Call
- func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) Return(confirmation *core.DataTransferConfirmation, err error) *MockCoreCentralSystemHandler_OnDataTransfer_Call
- func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) Run(run func(chargePointId string, request *core.DataTransferRequest)) *MockCoreCentralSystemHandler_OnDataTransfer_Call
- func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnDataTransfer_Call
- type MockCoreCentralSystemHandler_OnHeartbeat_Call
- func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) Return(confirmation *core.HeartbeatConfirmation, err error) *MockCoreCentralSystemHandler_OnHeartbeat_Call
- func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) Run(run func(chargePointId string, request *core.HeartbeatRequest)) *MockCoreCentralSystemHandler_OnHeartbeat_Call
- func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) RunAndReturn(run func(string, *core.HeartbeatRequest) (*core.HeartbeatConfirmation, error)) *MockCoreCentralSystemHandler_OnHeartbeat_Call
- type MockCoreCentralSystemHandler_OnMeterValues_Call
- func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) Return(confirmation *core.MeterValuesConfirmation, err error) *MockCoreCentralSystemHandler_OnMeterValues_Call
- func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) Run(run func(chargePointId string, request *core.MeterValuesRequest)) *MockCoreCentralSystemHandler_OnMeterValues_Call
- func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnMeterValues_Call
- type MockCoreCentralSystemHandler_OnStartTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) Return(confirmation *core.StartTransactionConfirmation, err error) *MockCoreCentralSystemHandler_OnStartTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) Run(run func(chargePointId string, request *core.StartTransactionRequest)) *MockCoreCentralSystemHandler_OnStartTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnStartTransaction_Call
- type MockCoreCentralSystemHandler_OnStatusNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) Return(confirmation *core.StatusNotificationConfirmation, err error) *MockCoreCentralSystemHandler_OnStatusNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) Run(run func(chargePointId string, request *core.StatusNotificationRequest)) *MockCoreCentralSystemHandler_OnStatusNotification_Call
- func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnStatusNotification_Call
- type MockCoreCentralSystemHandler_OnStopTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) Return(confirmation *core.StopTransactionConfirmation, err error) *MockCoreCentralSystemHandler_OnStopTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) Run(run func(chargePointId string, request *core.StopTransactionRequest)) *MockCoreCentralSystemHandler_OnStopTransaction_Call
- func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) RunAndReturn(...) *MockCoreCentralSystemHandler_OnStopTransaction_Call
- type MockCoreChargePointHandler
- func (_m *MockCoreChargePointHandler) EXPECT() *MockCoreChargePointHandler_Expecter
- func (_m *MockCoreChargePointHandler) OnChangeAvailability(request *core.ChangeAvailabilityRequest) (*core.ChangeAvailabilityConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnChangeConfiguration(request *core.ChangeConfigurationRequest) (*core.ChangeConfigurationConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnClearCache(request *core.ClearCacheRequest) (*core.ClearCacheConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnDataTransfer(request *core.DataTransferRequest) (*core.DataTransferConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnGetConfiguration(request *core.GetConfigurationRequest) (*core.GetConfigurationConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnRemoteStartTransaction(request *core.RemoteStartTransactionRequest) (*core.RemoteStartTransactionConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnRemoteStopTransaction(request *core.RemoteStopTransactionRequest) (*core.RemoteStopTransactionConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnReset(request *core.ResetRequest) (*core.ResetConfirmation, error)
- func (_m *MockCoreChargePointHandler) OnUnlockConnector(request *core.UnlockConnectorRequest) (*core.UnlockConnectorConfirmation, error)
- type MockCoreChargePointHandler_Expecter
- func (_e *MockCoreChargePointHandler_Expecter) OnChangeAvailability(request interface{}) *MockCoreChargePointHandler_OnChangeAvailability_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnChangeConfiguration(request interface{}) *MockCoreChargePointHandler_OnChangeConfiguration_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnClearCache(request interface{}) *MockCoreChargePointHandler_OnClearCache_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnDataTransfer(request interface{}) *MockCoreChargePointHandler_OnDataTransfer_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnGetConfiguration(request interface{}) *MockCoreChargePointHandler_OnGetConfiguration_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnRemoteStartTransaction(request interface{}) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnRemoteStopTransaction(request interface{}) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnReset(request interface{}) *MockCoreChargePointHandler_OnReset_Call
- func (_e *MockCoreChargePointHandler_Expecter) OnUnlockConnector(request interface{}) *MockCoreChargePointHandler_OnUnlockConnector_Call
- type MockCoreChargePointHandler_OnChangeAvailability_Call
- func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) Return(confirmation *core.ChangeAvailabilityConfirmation, err error) *MockCoreChargePointHandler_OnChangeAvailability_Call
- func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) Run(run func(request *core.ChangeAvailabilityRequest)) *MockCoreChargePointHandler_OnChangeAvailability_Call
- func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnChangeAvailability_Call
- type MockCoreChargePointHandler_OnChangeConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) Return(confirmation *core.ChangeConfigurationConfirmation, err error) *MockCoreChargePointHandler_OnChangeConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) Run(run func(request *core.ChangeConfigurationRequest)) *MockCoreChargePointHandler_OnChangeConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnChangeConfiguration_Call
- type MockCoreChargePointHandler_OnClearCache_Call
- func (_c *MockCoreChargePointHandler_OnClearCache_Call) Return(confirmation *core.ClearCacheConfirmation, err error) *MockCoreChargePointHandler_OnClearCache_Call
- func (_c *MockCoreChargePointHandler_OnClearCache_Call) Run(run func(request *core.ClearCacheRequest)) *MockCoreChargePointHandler_OnClearCache_Call
- func (_c *MockCoreChargePointHandler_OnClearCache_Call) RunAndReturn(run func(*core.ClearCacheRequest) (*core.ClearCacheConfirmation, error)) *MockCoreChargePointHandler_OnClearCache_Call
- type MockCoreChargePointHandler_OnDataTransfer_Call
- func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) Return(confirmation *core.DataTransferConfirmation, err error) *MockCoreChargePointHandler_OnDataTransfer_Call
- func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) Run(run func(request *core.DataTransferRequest)) *MockCoreChargePointHandler_OnDataTransfer_Call
- func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) RunAndReturn(run func(*core.DataTransferRequest) (*core.DataTransferConfirmation, error)) *MockCoreChargePointHandler_OnDataTransfer_Call
- type MockCoreChargePointHandler_OnGetConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) Return(confirmation *core.GetConfigurationConfirmation, err error) *MockCoreChargePointHandler_OnGetConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) Run(run func(request *core.GetConfigurationRequest)) *MockCoreChargePointHandler_OnGetConfiguration_Call
- func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnGetConfiguration_Call
- type MockCoreChargePointHandler_OnRemoteStartTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Return(confirmation *core.RemoteStartTransactionConfirmation, err error) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Run(run func(request *core.RemoteStartTransactionRequest)) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
- type MockCoreChargePointHandler_OnRemoteStopTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Return(confirmation *core.RemoteStopTransactionConfirmation, err error) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Run(run func(request *core.RemoteStopTransactionRequest)) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
- func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
- type MockCoreChargePointHandler_OnReset_Call
- func (_c *MockCoreChargePointHandler_OnReset_Call) Return(confirmation *core.ResetConfirmation, err error) *MockCoreChargePointHandler_OnReset_Call
- func (_c *MockCoreChargePointHandler_OnReset_Call) Run(run func(request *core.ResetRequest)) *MockCoreChargePointHandler_OnReset_Call
- func (_c *MockCoreChargePointHandler_OnReset_Call) RunAndReturn(run func(*core.ResetRequest) (*core.ResetConfirmation, error)) *MockCoreChargePointHandler_OnReset_Call
- type MockCoreChargePointHandler_OnUnlockConnector_Call
- func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) Return(confirmation *core.UnlockConnectorConfirmation, err error) *MockCoreChargePointHandler_OnUnlockConnector_Call
- func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) Run(run func(request *core.UnlockConnectorRequest)) *MockCoreChargePointHandler_OnUnlockConnector_Call
- func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) RunAndReturn(...) *MockCoreChargePointHandler_OnUnlockConnector_Call
- type MockExtendedTriggerMessageChargePointHandler
- func (_m *MockExtendedTriggerMessageChargePointHandler) EXPECT() *MockExtendedTriggerMessageChargePointHandler_Expecter
- func (_m *MockExtendedTriggerMessageChargePointHandler) OnExtendedTriggerMessage(request *extendedtriggermessage.ExtendedTriggerMessageRequest) (*extendedtriggermessage.ExtendedTriggerMessageResponse, error)
- type MockExtendedTriggerMessageChargePointHandler_Expecter
- type MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
- func (_c *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) Return(response *extendedtriggermessage.ExtendedTriggerMessageResponse, err error) *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
- func (_c *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) Run(run func(request *extendedtriggermessage.ExtendedTriggerMessageRequest)) *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
- func (_c *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) RunAndReturn(...) *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
- type MockFirmwareCentralSystemHandler
- func (_m *MockFirmwareCentralSystemHandler) EXPECT() *MockFirmwareCentralSystemHandler_Expecter
- func (_m *MockFirmwareCentralSystemHandler) OnDiagnosticsStatusNotification(chargePointId string, request *firmware.DiagnosticsStatusNotificationRequest) (*firmware.DiagnosticsStatusNotificationConfirmation, error)
- func (_m *MockFirmwareCentralSystemHandler) OnFirmwareStatusNotification(chargePointId string, request *firmware.FirmwareStatusNotificationRequest) (*firmware.FirmwareStatusNotificationConfirmation, error)
- type MockFirmwareCentralSystemHandler_Expecter
- func (_e *MockFirmwareCentralSystemHandler_Expecter) OnDiagnosticsStatusNotification(chargePointId interface{}, request interface{}) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
- func (_e *MockFirmwareCentralSystemHandler_Expecter) OnFirmwareStatusNotification(chargePointId interface{}, request interface{}) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
- type MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) Return(confirmation *firmware.DiagnosticsStatusNotificationConfirmation, err error) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) Run(...) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) RunAndReturn(...) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
- type MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) Return(confirmation *firmware.FirmwareStatusNotificationConfirmation, err error) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) Run(...) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
- func (_c *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) RunAndReturn(...) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
- type MockFirmwareChargePointHandler
- func (_m *MockFirmwareChargePointHandler) EXPECT() *MockFirmwareChargePointHandler_Expecter
- func (_m *MockFirmwareChargePointHandler) OnGetDiagnostics(request *firmware.GetDiagnosticsRequest) (*firmware.GetDiagnosticsConfirmation, error)
- func (_m *MockFirmwareChargePointHandler) OnUpdateFirmware(request *firmware.UpdateFirmwareRequest) (*firmware.UpdateFirmwareConfirmation, error)
- type MockFirmwareChargePointHandler_Expecter
- type MockFirmwareChargePointHandler_OnGetDiagnostics_Call
- func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Return(confirmation *firmware.GetDiagnosticsConfirmation, err error) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
- func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Run(run func(request *firmware.GetDiagnosticsRequest)) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
- func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) RunAndReturn(...) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
- type MockFirmwareChargePointHandler_OnUpdateFirmware_Call
- func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Return(confirmation *firmware.UpdateFirmwareConfirmation, err error) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
- func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Run(run func(request *firmware.UpdateFirmwareRequest)) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
- func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) RunAndReturn(...) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
- type MockLocalAuthListCentralSystemHandler
- type MockLocalAuthListCentralSystemHandler_Expecter
- type MockLocalAuthListChargePointHandler
- func (_m *MockLocalAuthListChargePointHandler) EXPECT() *MockLocalAuthListChargePointHandler_Expecter
- func (_m *MockLocalAuthListChargePointHandler) OnGetLocalListVersion(request *localauth.GetLocalListVersionRequest) (*localauth.GetLocalListVersionConfirmation, error)
- func (_m *MockLocalAuthListChargePointHandler) OnSendLocalList(request *localauth.SendLocalListRequest) (*localauth.SendLocalListConfirmation, error)
- type MockLocalAuthListChargePointHandler_Expecter
- func (_e *MockLocalAuthListChargePointHandler_Expecter) OnGetLocalListVersion(request interface{}) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
- func (_e *MockLocalAuthListChargePointHandler_Expecter) OnSendLocalList(request interface{}) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
- type MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
- func (_c *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) Return(confirmation *localauth.GetLocalListVersionConfirmation, err error) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
- func (_c *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) Run(run func(request *localauth.GetLocalListVersionRequest)) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
- func (_c *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) RunAndReturn(...) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
- type MockLocalAuthListChargePointHandler_OnSendLocalList_Call
- func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Return(confirmation *localauth.SendLocalListConfirmation, err error) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
- func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Run(run func(request *localauth.SendLocalListRequest)) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
- func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) RunAndReturn(...) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
- type MockLogCentralSystemHandler
- type MockLogCentralSystemHandler_Expecter
- type MockLogCentralSystemHandler_OnLogStatusNotification_Call
- func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) Return(response *logging.LogStatusNotificationResponse, err error) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
- func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) Run(...) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
- func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) RunAndReturn(...) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
- type MockLogChargePointHandler
- type MockLogChargePointHandler_Expecter
- type MockLogChargePointHandler_OnGetLog_Call
- func (_c *MockLogChargePointHandler_OnGetLog_Call) Return(response *logging.GetLogResponse, err error) *MockLogChargePointHandler_OnGetLog_Call
- func (_c *MockLogChargePointHandler_OnGetLog_Call) Run(run func(request *logging.GetLogRequest)) *MockLogChargePointHandler_OnGetLog_Call
- func (_c *MockLogChargePointHandler_OnGetLog_Call) RunAndReturn(run func(*logging.GetLogRequest) (*logging.GetLogResponse, error)) *MockLogChargePointHandler_OnGetLog_Call
- type MockRemoteTriggerCentralSystemHandler
- type MockRemoteTriggerCentralSystemHandler_Expecter
- type MockRemoteTriggerChargePointHandler
- type MockRemoteTriggerChargePointHandler_Expecter
- type MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
- func (_c *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Return(confirmation *remotetrigger.TriggerMessageConfirmation, err error) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
- func (_c *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Run(run func(request *remotetrigger.TriggerMessageRequest)) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
- func (_c *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) RunAndReturn(...) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
- type MockReservationCentralSystemHandler
- type MockReservationCentralSystemHandler_Expecter
- type MockReservationChargePointHandler
- func (_m *MockReservationChargePointHandler) EXPECT() *MockReservationChargePointHandler_Expecter
- func (_m *MockReservationChargePointHandler) OnCancelReservation(request *reservation.CancelReservationRequest) (*reservation.CancelReservationConfirmation, error)
- func (_m *MockReservationChargePointHandler) OnReserveNow(request *reservation.ReserveNowRequest) (*reservation.ReserveNowConfirmation, error)
- type MockReservationChargePointHandler_Expecter
- type MockReservationChargePointHandler_OnCancelReservation_Call
- func (_c *MockReservationChargePointHandler_OnCancelReservation_Call) Return(confirmation *reservation.CancelReservationConfirmation, err error) *MockReservationChargePointHandler_OnCancelReservation_Call
- func (_c *MockReservationChargePointHandler_OnCancelReservation_Call) Run(run func(request *reservation.CancelReservationRequest)) *MockReservationChargePointHandler_OnCancelReservation_Call
- func (_c *MockReservationChargePointHandler_OnCancelReservation_Call) RunAndReturn(...) *MockReservationChargePointHandler_OnCancelReservation_Call
- type MockReservationChargePointHandler_OnReserveNow_Call
- func (_c *MockReservationChargePointHandler_OnReserveNow_Call) Return(confirmation *reservation.ReserveNowConfirmation, err error) *MockReservationChargePointHandler_OnReserveNow_Call
- func (_c *MockReservationChargePointHandler_OnReserveNow_Call) Run(run func(request *reservation.ReserveNowRequest)) *MockReservationChargePointHandler_OnReserveNow_Call
- func (_c *MockReservationChargePointHandler_OnReserveNow_Call) RunAndReturn(...) *MockReservationChargePointHandler_OnReserveNow_Call
- type MockSecureFirmwareCentralSystemHandler
- type MockSecureFirmwareCentralSystemHandler_Expecter
- type MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call
- func (_c *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) Return(response *securefirmware.SignedFirmwareStatusNotificationResponse, err error) ...
- func (_c *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) Run(run func(chargingStationID string, ...)) ...
- func (_c *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) RunAndReturn(...) ...
- type MockSecureFirmwareChargePointHandler
- type MockSecureFirmwareChargePointHandler_Expecter
- type MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call
- func (_c *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) Return(response *securefirmware.SignedUpdateFirmwareResponse, err error) *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call
- func (_c *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) Run(run func(request *securefirmware.SignedUpdateFirmwareRequest)) *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call
- func (_c *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) RunAndReturn(...) *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call
- type MockSecurityCentralSystemHandler
- func (_m *MockSecurityCentralSystemHandler) EXPECT() *MockSecurityCentralSystemHandler_Expecter
- func (_m *MockSecurityCentralSystemHandler) OnSecurityEventNotification(chargingStationID string, request *security.SecurityEventNotificationRequest) (*security.SecurityEventNotificationResponse, error)
- func (_m *MockSecurityCentralSystemHandler) OnSignCertificate(chargingStationID string, request *security.SignCertificateRequest) (*security.SignCertificateResponse, error)
- type MockSecurityCentralSystemHandler_Expecter
- func (_e *MockSecurityCentralSystemHandler_Expecter) OnSecurityEventNotification(chargingStationID interface{}, request interface{}) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
- func (_e *MockSecurityCentralSystemHandler_Expecter) OnSignCertificate(chargingStationID interface{}, request interface{}) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
- type MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
- func (_c *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) Return(response *security.SecurityEventNotificationResponse, err error) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
- func (_c *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) Run(...) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
- func (_c *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) RunAndReturn(...) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
- type MockSecurityCentralSystemHandler_OnSignCertificate_Call
- func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) Return(response *security.SignCertificateResponse, err error) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
- func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) Run(run func(chargingStationID string, request *security.SignCertificateRequest)) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
- func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) RunAndReturn(...) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
- type MockSecurityChargePointHandler
- type MockSecurityChargePointHandler_Expecter
- type MockSecurityChargePointHandler_OnCertificateSigned_Call
- func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) Return(response *security.CertificateSignedResponse, err error) *MockSecurityChargePointHandler_OnCertificateSigned_Call
- func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) Run(run func(request *security.CertificateSignedRequest)) *MockSecurityChargePointHandler_OnCertificateSigned_Call
- func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) RunAndReturn(...) *MockSecurityChargePointHandler_OnCertificateSigned_Call
- type MockSmartChargingCentralSystemHandler
- type MockSmartChargingCentralSystemHandler_Expecter
- type MockSmartChargingChargePointHandler
- func (_m *MockSmartChargingChargePointHandler) EXPECT() *MockSmartChargingChargePointHandler_Expecter
- func (_m *MockSmartChargingChargePointHandler) OnClearChargingProfile(request *smartcharging.ClearChargingProfileRequest) (*smartcharging.ClearChargingProfileConfirmation, error)
- func (_m *MockSmartChargingChargePointHandler) OnGetCompositeSchedule(request *smartcharging.GetCompositeScheduleRequest) (*smartcharging.GetCompositeScheduleConfirmation, error)
- func (_m *MockSmartChargingChargePointHandler) OnSetChargingProfile(request *smartcharging.SetChargingProfileRequest) (*smartcharging.SetChargingProfileConfirmation, error)
- type MockSmartChargingChargePointHandler_Expecter
- func (_e *MockSmartChargingChargePointHandler_Expecter) OnClearChargingProfile(request interface{}) *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
- func (_e *MockSmartChargingChargePointHandler_Expecter) OnGetCompositeSchedule(request interface{}) *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
- func (_e *MockSmartChargingChargePointHandler_Expecter) OnSetChargingProfile(request interface{}) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
- type MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) Return(confirmation *smartcharging.ClearChargingProfileConfirmation, err error) *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) Run(run func(request *smartcharging.ClearChargingProfileRequest)) *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) RunAndReturn(...) *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
- type MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
- func (_c *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) Return(confirmation *smartcharging.GetCompositeScheduleConfirmation, err error) *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
- func (_c *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) Run(run func(request *smartcharging.GetCompositeScheduleRequest)) *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
- func (_c *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) RunAndReturn(...) *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
- type MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) Return(confirmation *smartcharging.SetChargingProfileConfirmation, err error) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) Run(run func(request *smartcharging.SetChargingProfileRequest)) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
- func (_c *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) RunAndReturn(...) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCertificatesChargePointHandler ¶
MockCertificatesChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockCertificatesChargePointHandler ¶
func NewMockCertificatesChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockCertificatesChargePointHandler
NewMockCertificatesChargePointHandler creates a new instance of MockCertificatesChargePointHandler. 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 (*MockCertificatesChargePointHandler) EXPECT ¶
func (_m *MockCertificatesChargePointHandler) EXPECT() *MockCertificatesChargePointHandler_Expecter
func (*MockCertificatesChargePointHandler) OnDeleteCertificate ¶
func (_m *MockCertificatesChargePointHandler) OnDeleteCertificate(request *certificates.DeleteCertificateRequest) (*certificates.DeleteCertificateResponse, error)
OnDeleteCertificate provides a mock function with given fields: request
func (*MockCertificatesChargePointHandler) OnGetInstalledCertificateIds ¶
func (_m *MockCertificatesChargePointHandler) OnGetInstalledCertificateIds(request *certificates.GetInstalledCertificateIdsRequest) (*certificates.GetInstalledCertificateIdsResponse, error)
OnGetInstalledCertificateIds provides a mock function with given fields: request
func (*MockCertificatesChargePointHandler) OnInstallCertificate ¶
func (_m *MockCertificatesChargePointHandler) OnInstallCertificate(request *certificates.InstallCertificateRequest) (*certificates.InstallCertificateResponse, error)
OnInstallCertificate provides a mock function with given fields: request
type MockCertificatesChargePointHandler_Expecter ¶
type MockCertificatesChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCertificatesChargePointHandler_Expecter) OnDeleteCertificate ¶
func (_e *MockCertificatesChargePointHandler_Expecter) OnDeleteCertificate(request interface{}) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
OnDeleteCertificate is a helper method to define mock.On call
- request *certificates.DeleteCertificateRequest
func (*MockCertificatesChargePointHandler_Expecter) OnGetInstalledCertificateIds ¶
func (_e *MockCertificatesChargePointHandler_Expecter) OnGetInstalledCertificateIds(request interface{}) *MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call
OnGetInstalledCertificateIds is a helper method to define mock.On call
- request *certificates.GetInstalledCertificateIdsRequest
func (*MockCertificatesChargePointHandler_Expecter) OnInstallCertificate ¶
func (_e *MockCertificatesChargePointHandler_Expecter) OnInstallCertificate(request interface{}) *MockCertificatesChargePointHandler_OnInstallCertificate_Call
OnInstallCertificate is a helper method to define mock.On call
- request *certificates.InstallCertificateRequest
type MockCertificatesChargePointHandler_OnDeleteCertificate_Call ¶
MockCertificatesChargePointHandler_OnDeleteCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDeleteCertificate'
func (*MockCertificatesChargePointHandler_OnDeleteCertificate_Call) Return ¶
func (*MockCertificatesChargePointHandler_OnDeleteCertificate_Call) Run ¶
func (_c *MockCertificatesChargePointHandler_OnDeleteCertificate_Call) Run(run func(request *certificates.DeleteCertificateRequest)) *MockCertificatesChargePointHandler_OnDeleteCertificate_Call
func (*MockCertificatesChargePointHandler_OnDeleteCertificate_Call) RunAndReturn ¶
type MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call ¶
MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetInstalledCertificateIds'
func (*MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) Return ¶
func (*MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) Run ¶
func (*MockCertificatesChargePointHandler_OnGetInstalledCertificateIds_Call) RunAndReturn ¶
type MockCertificatesChargePointHandler_OnInstallCertificate_Call ¶
MockCertificatesChargePointHandler_OnInstallCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnInstallCertificate'
func (*MockCertificatesChargePointHandler_OnInstallCertificate_Call) Return ¶
func (*MockCertificatesChargePointHandler_OnInstallCertificate_Call) Run ¶
func (*MockCertificatesChargePointHandler_OnInstallCertificate_Call) RunAndReturn ¶
type MockChargePointConnectionHandler ¶
MockChargePointConnectionHandler is an autogenerated mock type for the ChargePointConnectionHandler type
func NewMockChargePointConnectionHandler ¶
func NewMockChargePointConnectionHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockChargePointConnectionHandler
NewMockChargePointConnectionHandler creates a new instance of MockChargePointConnectionHandler. 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 (*MockChargePointConnectionHandler) EXPECT ¶
func (_m *MockChargePointConnectionHandler) EXPECT() *MockChargePointConnectionHandler_Expecter
func (*MockChargePointConnectionHandler) Execute ¶
func (_m *MockChargePointConnectionHandler) Execute(chargePoint ocpp16.ChargePointConnection)
Execute provides a mock function with given fields: chargePoint
type MockChargePointConnectionHandler_Execute_Call ¶
MockChargePointConnectionHandler_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockChargePointConnectionHandler_Execute_Call) Return ¶
func (*MockChargePointConnectionHandler_Execute_Call) Run ¶
func (_c *MockChargePointConnectionHandler_Execute_Call) Run(run func(chargePoint ocpp16.ChargePointConnection)) *MockChargePointConnectionHandler_Execute_Call
func (*MockChargePointConnectionHandler_Execute_Call) RunAndReturn ¶
func (_c *MockChargePointConnectionHandler_Execute_Call) RunAndReturn(run func(ocpp16.ChargePointConnection)) *MockChargePointConnectionHandler_Execute_Call
type MockChargePointConnectionHandler_Expecter ¶
type MockChargePointConnectionHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockChargePointConnectionHandler_Expecter) Execute ¶
func (_e *MockChargePointConnectionHandler_Expecter) Execute(chargePoint interface{}) *MockChargePointConnectionHandler_Execute_Call
Execute is a helper method to define mock.On call
- chargePoint ocpp16.ChargePointConnection
type MockCoreCentralSystemHandler ¶
MockCoreCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockCoreCentralSystemHandler ¶
func NewMockCoreCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockCoreCentralSystemHandler
NewMockCoreCentralSystemHandler creates a new instance of MockCoreCentralSystemHandler. 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 (*MockCoreCentralSystemHandler) EXPECT ¶
func (_m *MockCoreCentralSystemHandler) EXPECT() *MockCoreCentralSystemHandler_Expecter
func (*MockCoreCentralSystemHandler) OnAuthorize ¶
func (_m *MockCoreCentralSystemHandler) OnAuthorize(chargePointId string, request *core.AuthorizeRequest) (*core.AuthorizeConfirmation, error)
OnAuthorize provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnBootNotification ¶
func (_m *MockCoreCentralSystemHandler) OnBootNotification(chargePointId string, request *core.BootNotificationRequest) (*core.BootNotificationConfirmation, error)
OnBootNotification provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnDataTransfer ¶
func (_m *MockCoreCentralSystemHandler) OnDataTransfer(chargePointId string, request *core.DataTransferRequest) (*core.DataTransferConfirmation, error)
OnDataTransfer provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnHeartbeat ¶
func (_m *MockCoreCentralSystemHandler) OnHeartbeat(chargePointId string, request *core.HeartbeatRequest) (*core.HeartbeatConfirmation, error)
OnHeartbeat provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnMeterValues ¶
func (_m *MockCoreCentralSystemHandler) OnMeterValues(chargePointId string, request *core.MeterValuesRequest) (*core.MeterValuesConfirmation, error)
OnMeterValues provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnStartTransaction ¶
func (_m *MockCoreCentralSystemHandler) OnStartTransaction(chargePointId string, request *core.StartTransactionRequest) (*core.StartTransactionConfirmation, error)
OnStartTransaction provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnStatusNotification ¶
func (_m *MockCoreCentralSystemHandler) OnStatusNotification(chargePointId string, request *core.StatusNotificationRequest) (*core.StatusNotificationConfirmation, error)
OnStatusNotification provides a mock function with given fields: chargePointId, request
func (*MockCoreCentralSystemHandler) OnStopTransaction ¶
func (_m *MockCoreCentralSystemHandler) OnStopTransaction(chargePointId string, request *core.StopTransactionRequest) (*core.StopTransactionConfirmation, error)
OnStopTransaction provides a mock function with given fields: chargePointId, request
type MockCoreCentralSystemHandler_Expecter ¶
type MockCoreCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCoreCentralSystemHandler_Expecter) OnAuthorize ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnAuthorize(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnAuthorize_Call
OnAuthorize is a helper method to define mock.On call
- chargePointId string
- request *core.AuthorizeRequest
func (*MockCoreCentralSystemHandler_Expecter) OnBootNotification ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnBootNotification(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnBootNotification_Call
OnBootNotification is a helper method to define mock.On call
- chargePointId string
- request *core.BootNotificationRequest
func (*MockCoreCentralSystemHandler_Expecter) OnDataTransfer ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnDataTransfer(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnDataTransfer_Call
OnDataTransfer is a helper method to define mock.On call
- chargePointId string
- request *core.DataTransferRequest
func (*MockCoreCentralSystemHandler_Expecter) OnHeartbeat ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnHeartbeat(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnHeartbeat_Call
OnHeartbeat is a helper method to define mock.On call
- chargePointId string
- request *core.HeartbeatRequest
func (*MockCoreCentralSystemHandler_Expecter) OnMeterValues ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnMeterValues(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnMeterValues_Call
OnMeterValues is a helper method to define mock.On call
- chargePointId string
- request *core.MeterValuesRequest
func (*MockCoreCentralSystemHandler_Expecter) OnStartTransaction ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnStartTransaction(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStartTransaction_Call
OnStartTransaction is a helper method to define mock.On call
- chargePointId string
- request *core.StartTransactionRequest
func (*MockCoreCentralSystemHandler_Expecter) OnStatusNotification ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnStatusNotification(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStatusNotification_Call
OnStatusNotification is a helper method to define mock.On call
- chargePointId string
- request *core.StatusNotificationRequest
func (*MockCoreCentralSystemHandler_Expecter) OnStopTransaction ¶
func (_e *MockCoreCentralSystemHandler_Expecter) OnStopTransaction(chargePointId interface{}, request interface{}) *MockCoreCentralSystemHandler_OnStopTransaction_Call
OnStopTransaction is a helper method to define mock.On call
- chargePointId string
- request *core.StopTransactionRequest
type MockCoreCentralSystemHandler_OnAuthorize_Call ¶
MockCoreCentralSystemHandler_OnAuthorize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAuthorize'
func (*MockCoreCentralSystemHandler_OnAuthorize_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) Return(confirmation *core.AuthorizeConfirmation, err error) *MockCoreCentralSystemHandler_OnAuthorize_Call
func (*MockCoreCentralSystemHandler_OnAuthorize_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) Run(run func(chargePointId string, request *core.AuthorizeRequest)) *MockCoreCentralSystemHandler_OnAuthorize_Call
func (*MockCoreCentralSystemHandler_OnAuthorize_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnAuthorize_Call) RunAndReturn(run func(string, *core.AuthorizeRequest) (*core.AuthorizeConfirmation, error)) *MockCoreCentralSystemHandler_OnAuthorize_Call
type MockCoreCentralSystemHandler_OnBootNotification_Call ¶
MockCoreCentralSystemHandler_OnBootNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnBootNotification'
func (*MockCoreCentralSystemHandler_OnBootNotification_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) Return(confirmation *core.BootNotificationConfirmation, err error) *MockCoreCentralSystemHandler_OnBootNotification_Call
func (*MockCoreCentralSystemHandler_OnBootNotification_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) Run(run func(chargePointId string, request *core.BootNotificationRequest)) *MockCoreCentralSystemHandler_OnBootNotification_Call
func (*MockCoreCentralSystemHandler_OnBootNotification_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnBootNotification_Call) RunAndReturn(run func(string, *core.BootNotificationRequest) (*core.BootNotificationConfirmation, error)) *MockCoreCentralSystemHandler_OnBootNotification_Call
type MockCoreCentralSystemHandler_OnDataTransfer_Call ¶
MockCoreCentralSystemHandler_OnDataTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDataTransfer'
func (*MockCoreCentralSystemHandler_OnDataTransfer_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) Return(confirmation *core.DataTransferConfirmation, err error) *MockCoreCentralSystemHandler_OnDataTransfer_Call
func (*MockCoreCentralSystemHandler_OnDataTransfer_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) Run(run func(chargePointId string, request *core.DataTransferRequest)) *MockCoreCentralSystemHandler_OnDataTransfer_Call
func (*MockCoreCentralSystemHandler_OnDataTransfer_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnDataTransfer_Call) RunAndReturn(run func(string, *core.DataTransferRequest) (*core.DataTransferConfirmation, error)) *MockCoreCentralSystemHandler_OnDataTransfer_Call
type MockCoreCentralSystemHandler_OnHeartbeat_Call ¶
MockCoreCentralSystemHandler_OnHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnHeartbeat'
func (*MockCoreCentralSystemHandler_OnHeartbeat_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) Return(confirmation *core.HeartbeatConfirmation, err error) *MockCoreCentralSystemHandler_OnHeartbeat_Call
func (*MockCoreCentralSystemHandler_OnHeartbeat_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) Run(run func(chargePointId string, request *core.HeartbeatRequest)) *MockCoreCentralSystemHandler_OnHeartbeat_Call
func (*MockCoreCentralSystemHandler_OnHeartbeat_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnHeartbeat_Call) RunAndReturn(run func(string, *core.HeartbeatRequest) (*core.HeartbeatConfirmation, error)) *MockCoreCentralSystemHandler_OnHeartbeat_Call
type MockCoreCentralSystemHandler_OnMeterValues_Call ¶
MockCoreCentralSystemHandler_OnMeterValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMeterValues'
func (*MockCoreCentralSystemHandler_OnMeterValues_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) Return(confirmation *core.MeterValuesConfirmation, err error) *MockCoreCentralSystemHandler_OnMeterValues_Call
func (*MockCoreCentralSystemHandler_OnMeterValues_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) Run(run func(chargePointId string, request *core.MeterValuesRequest)) *MockCoreCentralSystemHandler_OnMeterValues_Call
func (*MockCoreCentralSystemHandler_OnMeterValues_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnMeterValues_Call) RunAndReturn(run func(string, *core.MeterValuesRequest) (*core.MeterValuesConfirmation, error)) *MockCoreCentralSystemHandler_OnMeterValues_Call
type MockCoreCentralSystemHandler_OnStartTransaction_Call ¶
MockCoreCentralSystemHandler_OnStartTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStartTransaction'
func (*MockCoreCentralSystemHandler_OnStartTransaction_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) Return(confirmation *core.StartTransactionConfirmation, err error) *MockCoreCentralSystemHandler_OnStartTransaction_Call
func (*MockCoreCentralSystemHandler_OnStartTransaction_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) Run(run func(chargePointId string, request *core.StartTransactionRequest)) *MockCoreCentralSystemHandler_OnStartTransaction_Call
func (*MockCoreCentralSystemHandler_OnStartTransaction_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnStartTransaction_Call) RunAndReturn(run func(string, *core.StartTransactionRequest) (*core.StartTransactionConfirmation, error)) *MockCoreCentralSystemHandler_OnStartTransaction_Call
type MockCoreCentralSystemHandler_OnStatusNotification_Call ¶
MockCoreCentralSystemHandler_OnStatusNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStatusNotification'
func (*MockCoreCentralSystemHandler_OnStatusNotification_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) Return(confirmation *core.StatusNotificationConfirmation, err error) *MockCoreCentralSystemHandler_OnStatusNotification_Call
func (*MockCoreCentralSystemHandler_OnStatusNotification_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) Run(run func(chargePointId string, request *core.StatusNotificationRequest)) *MockCoreCentralSystemHandler_OnStatusNotification_Call
func (*MockCoreCentralSystemHandler_OnStatusNotification_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnStatusNotification_Call) RunAndReturn(run func(string, *core.StatusNotificationRequest) (*core.StatusNotificationConfirmation, error)) *MockCoreCentralSystemHandler_OnStatusNotification_Call
type MockCoreCentralSystemHandler_OnStopTransaction_Call ¶
MockCoreCentralSystemHandler_OnStopTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStopTransaction'
func (*MockCoreCentralSystemHandler_OnStopTransaction_Call) Return ¶
func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) Return(confirmation *core.StopTransactionConfirmation, err error) *MockCoreCentralSystemHandler_OnStopTransaction_Call
func (*MockCoreCentralSystemHandler_OnStopTransaction_Call) Run ¶
func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) Run(run func(chargePointId string, request *core.StopTransactionRequest)) *MockCoreCentralSystemHandler_OnStopTransaction_Call
func (*MockCoreCentralSystemHandler_OnStopTransaction_Call) RunAndReturn ¶
func (_c *MockCoreCentralSystemHandler_OnStopTransaction_Call) RunAndReturn(run func(string, *core.StopTransactionRequest) (*core.StopTransactionConfirmation, error)) *MockCoreCentralSystemHandler_OnStopTransaction_Call
type MockCoreChargePointHandler ¶
MockCoreChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockCoreChargePointHandler ¶
func NewMockCoreChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockCoreChargePointHandler
NewMockCoreChargePointHandler creates a new instance of MockCoreChargePointHandler. 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 (*MockCoreChargePointHandler) EXPECT ¶
func (_m *MockCoreChargePointHandler) EXPECT() *MockCoreChargePointHandler_Expecter
func (*MockCoreChargePointHandler) OnChangeAvailability ¶
func (_m *MockCoreChargePointHandler) OnChangeAvailability(request *core.ChangeAvailabilityRequest) (*core.ChangeAvailabilityConfirmation, error)
OnChangeAvailability provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnChangeConfiguration ¶
func (_m *MockCoreChargePointHandler) OnChangeConfiguration(request *core.ChangeConfigurationRequest) (*core.ChangeConfigurationConfirmation, error)
OnChangeConfiguration provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnClearCache ¶
func (_m *MockCoreChargePointHandler) OnClearCache(request *core.ClearCacheRequest) (*core.ClearCacheConfirmation, error)
OnClearCache provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnDataTransfer ¶
func (_m *MockCoreChargePointHandler) OnDataTransfer(request *core.DataTransferRequest) (*core.DataTransferConfirmation, error)
OnDataTransfer provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnGetConfiguration ¶
func (_m *MockCoreChargePointHandler) OnGetConfiguration(request *core.GetConfigurationRequest) (*core.GetConfigurationConfirmation, error)
OnGetConfiguration provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnRemoteStartTransaction ¶
func (_m *MockCoreChargePointHandler) OnRemoteStartTransaction(request *core.RemoteStartTransactionRequest) (*core.RemoteStartTransactionConfirmation, error)
OnRemoteStartTransaction provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnRemoteStopTransaction ¶
func (_m *MockCoreChargePointHandler) OnRemoteStopTransaction(request *core.RemoteStopTransactionRequest) (*core.RemoteStopTransactionConfirmation, error)
OnRemoteStopTransaction provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnReset ¶
func (_m *MockCoreChargePointHandler) OnReset(request *core.ResetRequest) (*core.ResetConfirmation, error)
OnReset provides a mock function with given fields: request
func (*MockCoreChargePointHandler) OnUnlockConnector ¶
func (_m *MockCoreChargePointHandler) OnUnlockConnector(request *core.UnlockConnectorRequest) (*core.UnlockConnectorConfirmation, error)
OnUnlockConnector provides a mock function with given fields: request
type MockCoreChargePointHandler_Expecter ¶
type MockCoreChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCoreChargePointHandler_Expecter) OnChangeAvailability ¶
func (_e *MockCoreChargePointHandler_Expecter) OnChangeAvailability(request interface{}) *MockCoreChargePointHandler_OnChangeAvailability_Call
OnChangeAvailability is a helper method to define mock.On call
- request *core.ChangeAvailabilityRequest
func (*MockCoreChargePointHandler_Expecter) OnChangeConfiguration ¶
func (_e *MockCoreChargePointHandler_Expecter) OnChangeConfiguration(request interface{}) *MockCoreChargePointHandler_OnChangeConfiguration_Call
OnChangeConfiguration is a helper method to define mock.On call
- request *core.ChangeConfigurationRequest
func (*MockCoreChargePointHandler_Expecter) OnClearCache ¶
func (_e *MockCoreChargePointHandler_Expecter) OnClearCache(request interface{}) *MockCoreChargePointHandler_OnClearCache_Call
OnClearCache is a helper method to define mock.On call
- request *core.ClearCacheRequest
func (*MockCoreChargePointHandler_Expecter) OnDataTransfer ¶
func (_e *MockCoreChargePointHandler_Expecter) OnDataTransfer(request interface{}) *MockCoreChargePointHandler_OnDataTransfer_Call
OnDataTransfer is a helper method to define mock.On call
- request *core.DataTransferRequest
func (*MockCoreChargePointHandler_Expecter) OnGetConfiguration ¶
func (_e *MockCoreChargePointHandler_Expecter) OnGetConfiguration(request interface{}) *MockCoreChargePointHandler_OnGetConfiguration_Call
OnGetConfiguration is a helper method to define mock.On call
- request *core.GetConfigurationRequest
func (*MockCoreChargePointHandler_Expecter) OnRemoteStartTransaction ¶
func (_e *MockCoreChargePointHandler_Expecter) OnRemoteStartTransaction(request interface{}) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
OnRemoteStartTransaction is a helper method to define mock.On call
- request *core.RemoteStartTransactionRequest
func (*MockCoreChargePointHandler_Expecter) OnRemoteStopTransaction ¶
func (_e *MockCoreChargePointHandler_Expecter) OnRemoteStopTransaction(request interface{}) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
OnRemoteStopTransaction is a helper method to define mock.On call
- request *core.RemoteStopTransactionRequest
func (*MockCoreChargePointHandler_Expecter) OnReset ¶
func (_e *MockCoreChargePointHandler_Expecter) OnReset(request interface{}) *MockCoreChargePointHandler_OnReset_Call
OnReset is a helper method to define mock.On call
- request *core.ResetRequest
func (*MockCoreChargePointHandler_Expecter) OnUnlockConnector ¶
func (_e *MockCoreChargePointHandler_Expecter) OnUnlockConnector(request interface{}) *MockCoreChargePointHandler_OnUnlockConnector_Call
OnUnlockConnector is a helper method to define mock.On call
- request *core.UnlockConnectorRequest
type MockCoreChargePointHandler_OnChangeAvailability_Call ¶
MockCoreChargePointHandler_OnChangeAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChangeAvailability'
func (*MockCoreChargePointHandler_OnChangeAvailability_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) Return(confirmation *core.ChangeAvailabilityConfirmation, err error) *MockCoreChargePointHandler_OnChangeAvailability_Call
func (*MockCoreChargePointHandler_OnChangeAvailability_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) Run(run func(request *core.ChangeAvailabilityRequest)) *MockCoreChargePointHandler_OnChangeAvailability_Call
func (*MockCoreChargePointHandler_OnChangeAvailability_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnChangeAvailability_Call) RunAndReturn(run func(*core.ChangeAvailabilityRequest) (*core.ChangeAvailabilityConfirmation, error)) *MockCoreChargePointHandler_OnChangeAvailability_Call
type MockCoreChargePointHandler_OnChangeConfiguration_Call ¶
MockCoreChargePointHandler_OnChangeConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnChangeConfiguration'
func (*MockCoreChargePointHandler_OnChangeConfiguration_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) Return(confirmation *core.ChangeConfigurationConfirmation, err error) *MockCoreChargePointHandler_OnChangeConfiguration_Call
func (*MockCoreChargePointHandler_OnChangeConfiguration_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) Run(run func(request *core.ChangeConfigurationRequest)) *MockCoreChargePointHandler_OnChangeConfiguration_Call
func (*MockCoreChargePointHandler_OnChangeConfiguration_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnChangeConfiguration_Call) RunAndReturn(run func(*core.ChangeConfigurationRequest) (*core.ChangeConfigurationConfirmation, error)) *MockCoreChargePointHandler_OnChangeConfiguration_Call
type MockCoreChargePointHandler_OnClearCache_Call ¶
MockCoreChargePointHandler_OnClearCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnClearCache'
func (*MockCoreChargePointHandler_OnClearCache_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnClearCache_Call) Return(confirmation *core.ClearCacheConfirmation, err error) *MockCoreChargePointHandler_OnClearCache_Call
func (*MockCoreChargePointHandler_OnClearCache_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnClearCache_Call) Run(run func(request *core.ClearCacheRequest)) *MockCoreChargePointHandler_OnClearCache_Call
func (*MockCoreChargePointHandler_OnClearCache_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnClearCache_Call) RunAndReturn(run func(*core.ClearCacheRequest) (*core.ClearCacheConfirmation, error)) *MockCoreChargePointHandler_OnClearCache_Call
type MockCoreChargePointHandler_OnDataTransfer_Call ¶
MockCoreChargePointHandler_OnDataTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDataTransfer'
func (*MockCoreChargePointHandler_OnDataTransfer_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) Return(confirmation *core.DataTransferConfirmation, err error) *MockCoreChargePointHandler_OnDataTransfer_Call
func (*MockCoreChargePointHandler_OnDataTransfer_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) Run(run func(request *core.DataTransferRequest)) *MockCoreChargePointHandler_OnDataTransfer_Call
func (*MockCoreChargePointHandler_OnDataTransfer_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnDataTransfer_Call) RunAndReturn(run func(*core.DataTransferRequest) (*core.DataTransferConfirmation, error)) *MockCoreChargePointHandler_OnDataTransfer_Call
type MockCoreChargePointHandler_OnGetConfiguration_Call ¶
MockCoreChargePointHandler_OnGetConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetConfiguration'
func (*MockCoreChargePointHandler_OnGetConfiguration_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) Return(confirmation *core.GetConfigurationConfirmation, err error) *MockCoreChargePointHandler_OnGetConfiguration_Call
func (*MockCoreChargePointHandler_OnGetConfiguration_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) Run(run func(request *core.GetConfigurationRequest)) *MockCoreChargePointHandler_OnGetConfiguration_Call
func (*MockCoreChargePointHandler_OnGetConfiguration_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnGetConfiguration_Call) RunAndReturn(run func(*core.GetConfigurationRequest) (*core.GetConfigurationConfirmation, error)) *MockCoreChargePointHandler_OnGetConfiguration_Call
type MockCoreChargePointHandler_OnRemoteStartTransaction_Call ¶
MockCoreChargePointHandler_OnRemoteStartTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRemoteStartTransaction'
func (*MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Return(confirmation *core.RemoteStartTransactionConfirmation, err error) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
func (*MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) Run(run func(request *core.RemoteStartTransactionRequest)) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
func (*MockCoreChargePointHandler_OnRemoteStartTransaction_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnRemoteStartTransaction_Call) RunAndReturn(run func(*core.RemoteStartTransactionRequest) (*core.RemoteStartTransactionConfirmation, error)) *MockCoreChargePointHandler_OnRemoteStartTransaction_Call
type MockCoreChargePointHandler_OnRemoteStopTransaction_Call ¶
MockCoreChargePointHandler_OnRemoteStopTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRemoteStopTransaction'
func (*MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Return(confirmation *core.RemoteStopTransactionConfirmation, err error) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
func (*MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) Run(run func(request *core.RemoteStopTransactionRequest)) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
func (*MockCoreChargePointHandler_OnRemoteStopTransaction_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnRemoteStopTransaction_Call) RunAndReturn(run func(*core.RemoteStopTransactionRequest) (*core.RemoteStopTransactionConfirmation, error)) *MockCoreChargePointHandler_OnRemoteStopTransaction_Call
type MockCoreChargePointHandler_OnReset_Call ¶
MockCoreChargePointHandler_OnReset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReset'
func (*MockCoreChargePointHandler_OnReset_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnReset_Call) Return(confirmation *core.ResetConfirmation, err error) *MockCoreChargePointHandler_OnReset_Call
func (*MockCoreChargePointHandler_OnReset_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnReset_Call) Run(run func(request *core.ResetRequest)) *MockCoreChargePointHandler_OnReset_Call
func (*MockCoreChargePointHandler_OnReset_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnReset_Call) RunAndReturn(run func(*core.ResetRequest) (*core.ResetConfirmation, error)) *MockCoreChargePointHandler_OnReset_Call
type MockCoreChargePointHandler_OnUnlockConnector_Call ¶
MockCoreChargePointHandler_OnUnlockConnector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUnlockConnector'
func (*MockCoreChargePointHandler_OnUnlockConnector_Call) Return ¶
func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) Return(confirmation *core.UnlockConnectorConfirmation, err error) *MockCoreChargePointHandler_OnUnlockConnector_Call
func (*MockCoreChargePointHandler_OnUnlockConnector_Call) Run ¶
func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) Run(run func(request *core.UnlockConnectorRequest)) *MockCoreChargePointHandler_OnUnlockConnector_Call
func (*MockCoreChargePointHandler_OnUnlockConnector_Call) RunAndReturn ¶
func (_c *MockCoreChargePointHandler_OnUnlockConnector_Call) RunAndReturn(run func(*core.UnlockConnectorRequest) (*core.UnlockConnectorConfirmation, error)) *MockCoreChargePointHandler_OnUnlockConnector_Call
type MockExtendedTriggerMessageChargePointHandler ¶
MockExtendedTriggerMessageChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockExtendedTriggerMessageChargePointHandler ¶
func NewMockExtendedTriggerMessageChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockExtendedTriggerMessageChargePointHandler
NewMockExtendedTriggerMessageChargePointHandler creates a new instance of MockExtendedTriggerMessageChargePointHandler. 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 (*MockExtendedTriggerMessageChargePointHandler) EXPECT ¶
func (*MockExtendedTriggerMessageChargePointHandler) OnExtendedTriggerMessage ¶
func (_m *MockExtendedTriggerMessageChargePointHandler) OnExtendedTriggerMessage(request *extendedtriggermessage.ExtendedTriggerMessageRequest) (*extendedtriggermessage.ExtendedTriggerMessageResponse, error)
OnExtendedTriggerMessage provides a mock function with given fields: request
type MockExtendedTriggerMessageChargePointHandler_Expecter ¶
type MockExtendedTriggerMessageChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockExtendedTriggerMessageChargePointHandler_Expecter) OnExtendedTriggerMessage ¶
func (_e *MockExtendedTriggerMessageChargePointHandler_Expecter) OnExtendedTriggerMessage(request interface{}) *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
OnExtendedTriggerMessage is a helper method to define mock.On call
- request *extendedtriggermessage.ExtendedTriggerMessageRequest
type MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call ¶
type MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call struct {
*mock.Call
}
MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnExtendedTriggerMessage'
func (*MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) Return ¶
func (*MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) Run ¶
func (*MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) RunAndReturn ¶
func (_c *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call) RunAndReturn(run func(*extendedtriggermessage.ExtendedTriggerMessageRequest) (*extendedtriggermessage.ExtendedTriggerMessageResponse, error)) *MockExtendedTriggerMessageChargePointHandler_OnExtendedTriggerMessage_Call
type MockFirmwareCentralSystemHandler ¶
MockFirmwareCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockFirmwareCentralSystemHandler ¶
func NewMockFirmwareCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockFirmwareCentralSystemHandler
NewMockFirmwareCentralSystemHandler creates a new instance of MockFirmwareCentralSystemHandler. 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 (*MockFirmwareCentralSystemHandler) EXPECT ¶
func (_m *MockFirmwareCentralSystemHandler) EXPECT() *MockFirmwareCentralSystemHandler_Expecter
func (*MockFirmwareCentralSystemHandler) OnDiagnosticsStatusNotification ¶
func (_m *MockFirmwareCentralSystemHandler) OnDiagnosticsStatusNotification(chargePointId string, request *firmware.DiagnosticsStatusNotificationRequest) (*firmware.DiagnosticsStatusNotificationConfirmation, error)
OnDiagnosticsStatusNotification provides a mock function with given fields: chargePointId, request
func (*MockFirmwareCentralSystemHandler) OnFirmwareStatusNotification ¶
func (_m *MockFirmwareCentralSystemHandler) OnFirmwareStatusNotification(chargePointId string, request *firmware.FirmwareStatusNotificationRequest) (*firmware.FirmwareStatusNotificationConfirmation, error)
OnFirmwareStatusNotification provides a mock function with given fields: chargePointId, request
type MockFirmwareCentralSystemHandler_Expecter ¶
type MockFirmwareCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFirmwareCentralSystemHandler_Expecter) OnDiagnosticsStatusNotification ¶
func (_e *MockFirmwareCentralSystemHandler_Expecter) OnDiagnosticsStatusNotification(chargePointId interface{}, request interface{}) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
OnDiagnosticsStatusNotification is a helper method to define mock.On call
- chargePointId string
- request *firmware.DiagnosticsStatusNotificationRequest
func (*MockFirmwareCentralSystemHandler_Expecter) OnFirmwareStatusNotification ¶
func (_e *MockFirmwareCentralSystemHandler_Expecter) OnFirmwareStatusNotification(chargePointId interface{}, request interface{}) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
OnFirmwareStatusNotification is a helper method to define mock.On call
- chargePointId string
- request *firmware.FirmwareStatusNotificationRequest
type MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call ¶
MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDiagnosticsStatusNotification'
func (*MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) Return ¶
func (*MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) Run ¶
func (_c *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) Run(run func(chargePointId string, request *firmware.DiagnosticsStatusNotificationRequest)) *MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call
func (*MockFirmwareCentralSystemHandler_OnDiagnosticsStatusNotification_Call) RunAndReturn ¶
type MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call ¶
MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnFirmwareStatusNotification'
func (*MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) Return ¶
func (*MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) Run ¶
func (_c *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) Run(run func(chargePointId string, request *firmware.FirmwareStatusNotificationRequest)) *MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call
func (*MockFirmwareCentralSystemHandler_OnFirmwareStatusNotification_Call) RunAndReturn ¶
type MockFirmwareChargePointHandler ¶
MockFirmwareChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockFirmwareChargePointHandler ¶
func NewMockFirmwareChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockFirmwareChargePointHandler
NewMockFirmwareChargePointHandler creates a new instance of MockFirmwareChargePointHandler. 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 (*MockFirmwareChargePointHandler) EXPECT ¶
func (_m *MockFirmwareChargePointHandler) EXPECT() *MockFirmwareChargePointHandler_Expecter
func (*MockFirmwareChargePointHandler) OnGetDiagnostics ¶
func (_m *MockFirmwareChargePointHandler) OnGetDiagnostics(request *firmware.GetDiagnosticsRequest) (*firmware.GetDiagnosticsConfirmation, error)
OnGetDiagnostics provides a mock function with given fields: request
func (*MockFirmwareChargePointHandler) OnUpdateFirmware ¶
func (_m *MockFirmwareChargePointHandler) OnUpdateFirmware(request *firmware.UpdateFirmwareRequest) (*firmware.UpdateFirmwareConfirmation, error)
OnUpdateFirmware provides a mock function with given fields: request
type MockFirmwareChargePointHandler_Expecter ¶
type MockFirmwareChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFirmwareChargePointHandler_Expecter) OnGetDiagnostics ¶
func (_e *MockFirmwareChargePointHandler_Expecter) OnGetDiagnostics(request interface{}) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
OnGetDiagnostics is a helper method to define mock.On call
- request *firmware.GetDiagnosticsRequest
func (*MockFirmwareChargePointHandler_Expecter) OnUpdateFirmware ¶
func (_e *MockFirmwareChargePointHandler_Expecter) OnUpdateFirmware(request interface{}) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
OnUpdateFirmware is a helper method to define mock.On call
- request *firmware.UpdateFirmwareRequest
type MockFirmwareChargePointHandler_OnGetDiagnostics_Call ¶
MockFirmwareChargePointHandler_OnGetDiagnostics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetDiagnostics'
func (*MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Return ¶
func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Return(confirmation *firmware.GetDiagnosticsConfirmation, err error) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
func (*MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Run ¶
func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) Run(run func(request *firmware.GetDiagnosticsRequest)) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
func (*MockFirmwareChargePointHandler_OnGetDiagnostics_Call) RunAndReturn ¶
func (_c *MockFirmwareChargePointHandler_OnGetDiagnostics_Call) RunAndReturn(run func(*firmware.GetDiagnosticsRequest) (*firmware.GetDiagnosticsConfirmation, error)) *MockFirmwareChargePointHandler_OnGetDiagnostics_Call
type MockFirmwareChargePointHandler_OnUpdateFirmware_Call ¶
MockFirmwareChargePointHandler_OnUpdateFirmware_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUpdateFirmware'
func (*MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Return ¶
func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Return(confirmation *firmware.UpdateFirmwareConfirmation, err error) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
func (*MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Run ¶
func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) Run(run func(request *firmware.UpdateFirmwareRequest)) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
func (*MockFirmwareChargePointHandler_OnUpdateFirmware_Call) RunAndReturn ¶
func (_c *MockFirmwareChargePointHandler_OnUpdateFirmware_Call) RunAndReturn(run func(*firmware.UpdateFirmwareRequest) (*firmware.UpdateFirmwareConfirmation, error)) *MockFirmwareChargePointHandler_OnUpdateFirmware_Call
type MockLocalAuthListCentralSystemHandler ¶
MockLocalAuthListCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockLocalAuthListCentralSystemHandler ¶
func NewMockLocalAuthListCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockLocalAuthListCentralSystemHandler
NewMockLocalAuthListCentralSystemHandler creates a new instance of MockLocalAuthListCentralSystemHandler. 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 (*MockLocalAuthListCentralSystemHandler) EXPECT ¶
func (_m *MockLocalAuthListCentralSystemHandler) EXPECT() *MockLocalAuthListCentralSystemHandler_Expecter
type MockLocalAuthListCentralSystemHandler_Expecter ¶
type MockLocalAuthListCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
type MockLocalAuthListChargePointHandler ¶
MockLocalAuthListChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockLocalAuthListChargePointHandler ¶
func NewMockLocalAuthListChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockLocalAuthListChargePointHandler
NewMockLocalAuthListChargePointHandler creates a new instance of MockLocalAuthListChargePointHandler. 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 (*MockLocalAuthListChargePointHandler) EXPECT ¶
func (_m *MockLocalAuthListChargePointHandler) EXPECT() *MockLocalAuthListChargePointHandler_Expecter
func (*MockLocalAuthListChargePointHandler) OnGetLocalListVersion ¶
func (_m *MockLocalAuthListChargePointHandler) OnGetLocalListVersion(request *localauth.GetLocalListVersionRequest) (*localauth.GetLocalListVersionConfirmation, error)
OnGetLocalListVersion provides a mock function with given fields: request
func (*MockLocalAuthListChargePointHandler) OnSendLocalList ¶
func (_m *MockLocalAuthListChargePointHandler) OnSendLocalList(request *localauth.SendLocalListRequest) (*localauth.SendLocalListConfirmation, error)
OnSendLocalList provides a mock function with given fields: request
type MockLocalAuthListChargePointHandler_Expecter ¶
type MockLocalAuthListChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLocalAuthListChargePointHandler_Expecter) OnGetLocalListVersion ¶
func (_e *MockLocalAuthListChargePointHandler_Expecter) OnGetLocalListVersion(request interface{}) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
OnGetLocalListVersion is a helper method to define mock.On call
- request *localauth.GetLocalListVersionRequest
func (*MockLocalAuthListChargePointHandler_Expecter) OnSendLocalList ¶
func (_e *MockLocalAuthListChargePointHandler_Expecter) OnSendLocalList(request interface{}) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
OnSendLocalList is a helper method to define mock.On call
- request *localauth.SendLocalListRequest
type MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call ¶
MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetLocalListVersion'
func (*MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) Return ¶
func (_c *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) Return(confirmation *localauth.GetLocalListVersionConfirmation, err error) *MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call
func (*MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) Run ¶
func (*MockLocalAuthListChargePointHandler_OnGetLocalListVersion_Call) RunAndReturn ¶
type MockLocalAuthListChargePointHandler_OnSendLocalList_Call ¶
MockLocalAuthListChargePointHandler_OnSendLocalList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSendLocalList'
func (*MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Return ¶
func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Return(confirmation *localauth.SendLocalListConfirmation, err error) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
func (*MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Run ¶
func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) Run(run func(request *localauth.SendLocalListRequest)) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
func (*MockLocalAuthListChargePointHandler_OnSendLocalList_Call) RunAndReturn ¶
func (_c *MockLocalAuthListChargePointHandler_OnSendLocalList_Call) RunAndReturn(run func(*localauth.SendLocalListRequest) (*localauth.SendLocalListConfirmation, error)) *MockLocalAuthListChargePointHandler_OnSendLocalList_Call
type MockLogCentralSystemHandler ¶
MockLogCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockLogCentralSystemHandler ¶
func NewMockLogCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockLogCentralSystemHandler
NewMockLogCentralSystemHandler creates a new instance of MockLogCentralSystemHandler. 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 (*MockLogCentralSystemHandler) EXPECT ¶
func (_m *MockLogCentralSystemHandler) EXPECT() *MockLogCentralSystemHandler_Expecter
func (*MockLogCentralSystemHandler) OnLogStatusNotification ¶
func (_m *MockLogCentralSystemHandler) OnLogStatusNotification(chargingStationID string, request *logging.LogStatusNotificationRequest) (*logging.LogStatusNotificationResponse, error)
OnLogStatusNotification provides a mock function with given fields: chargingStationID, request
type MockLogCentralSystemHandler_Expecter ¶
type MockLogCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogCentralSystemHandler_Expecter) OnLogStatusNotification ¶
func (_e *MockLogCentralSystemHandler_Expecter) OnLogStatusNotification(chargingStationID interface{}, request interface{}) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
OnLogStatusNotification is a helper method to define mock.On call
- chargingStationID string
- request *logging.LogStatusNotificationRequest
type MockLogCentralSystemHandler_OnLogStatusNotification_Call ¶
MockLogCentralSystemHandler_OnLogStatusNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnLogStatusNotification'
func (*MockLogCentralSystemHandler_OnLogStatusNotification_Call) Return ¶
func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) Return(response *logging.LogStatusNotificationResponse, err error) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
func (*MockLogCentralSystemHandler_OnLogStatusNotification_Call) Run ¶
func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) Run(run func(chargingStationID string, request *logging.LogStatusNotificationRequest)) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
func (*MockLogCentralSystemHandler_OnLogStatusNotification_Call) RunAndReturn ¶
func (_c *MockLogCentralSystemHandler_OnLogStatusNotification_Call) RunAndReturn(run func(string, *logging.LogStatusNotificationRequest) (*logging.LogStatusNotificationResponse, error)) *MockLogCentralSystemHandler_OnLogStatusNotification_Call
type MockLogChargePointHandler ¶
MockLogChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockLogChargePointHandler ¶
func NewMockLogChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockLogChargePointHandler
NewMockLogChargePointHandler creates a new instance of MockLogChargePointHandler. 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 (*MockLogChargePointHandler) EXPECT ¶
func (_m *MockLogChargePointHandler) EXPECT() *MockLogChargePointHandler_Expecter
func (*MockLogChargePointHandler) OnGetLog ¶
func (_m *MockLogChargePointHandler) OnGetLog(request *logging.GetLogRequest) (*logging.GetLogResponse, error)
OnGetLog provides a mock function with given fields: request
type MockLogChargePointHandler_Expecter ¶
type MockLogChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogChargePointHandler_Expecter) OnGetLog ¶
func (_e *MockLogChargePointHandler_Expecter) OnGetLog(request interface{}) *MockLogChargePointHandler_OnGetLog_Call
OnGetLog is a helper method to define mock.On call
- request *logging.GetLogRequest
type MockLogChargePointHandler_OnGetLog_Call ¶
MockLogChargePointHandler_OnGetLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetLog'
func (*MockLogChargePointHandler_OnGetLog_Call) Return ¶
func (_c *MockLogChargePointHandler_OnGetLog_Call) Return(response *logging.GetLogResponse, err error) *MockLogChargePointHandler_OnGetLog_Call
func (*MockLogChargePointHandler_OnGetLog_Call) Run ¶
func (_c *MockLogChargePointHandler_OnGetLog_Call) Run(run func(request *logging.GetLogRequest)) *MockLogChargePointHandler_OnGetLog_Call
func (*MockLogChargePointHandler_OnGetLog_Call) RunAndReturn ¶
func (_c *MockLogChargePointHandler_OnGetLog_Call) RunAndReturn(run func(*logging.GetLogRequest) (*logging.GetLogResponse, error)) *MockLogChargePointHandler_OnGetLog_Call
type MockRemoteTriggerCentralSystemHandler ¶
MockRemoteTriggerCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockRemoteTriggerCentralSystemHandler ¶
func NewMockRemoteTriggerCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockRemoteTriggerCentralSystemHandler
NewMockRemoteTriggerCentralSystemHandler creates a new instance of MockRemoteTriggerCentralSystemHandler. 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 (*MockRemoteTriggerCentralSystemHandler) EXPECT ¶
func (_m *MockRemoteTriggerCentralSystemHandler) EXPECT() *MockRemoteTriggerCentralSystemHandler_Expecter
type MockRemoteTriggerCentralSystemHandler_Expecter ¶
type MockRemoteTriggerCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
type MockRemoteTriggerChargePointHandler ¶
MockRemoteTriggerChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockRemoteTriggerChargePointHandler ¶
func NewMockRemoteTriggerChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockRemoteTriggerChargePointHandler
NewMockRemoteTriggerChargePointHandler creates a new instance of MockRemoteTriggerChargePointHandler. 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 (*MockRemoteTriggerChargePointHandler) EXPECT ¶
func (_m *MockRemoteTriggerChargePointHandler) EXPECT() *MockRemoteTriggerChargePointHandler_Expecter
func (*MockRemoteTriggerChargePointHandler) OnTriggerMessage ¶
func (_m *MockRemoteTriggerChargePointHandler) OnTriggerMessage(request *remotetrigger.TriggerMessageRequest) (*remotetrigger.TriggerMessageConfirmation, error)
OnTriggerMessage provides a mock function with given fields: request
type MockRemoteTriggerChargePointHandler_Expecter ¶
type MockRemoteTriggerChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRemoteTriggerChargePointHandler_Expecter) OnTriggerMessage ¶
func (_e *MockRemoteTriggerChargePointHandler_Expecter) OnTriggerMessage(request interface{}) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
OnTriggerMessage is a helper method to define mock.On call
- request *remotetrigger.TriggerMessageRequest
type MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call ¶
MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTriggerMessage'
func (*MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Return ¶
func (_c *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Return(confirmation *remotetrigger.TriggerMessageConfirmation, err error) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
func (*MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Run ¶
func (_c *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) Run(run func(request *remotetrigger.TriggerMessageRequest)) *MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call
func (*MockRemoteTriggerChargePointHandler_OnTriggerMessage_Call) RunAndReturn ¶
type MockReservationCentralSystemHandler ¶
MockReservationCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockReservationCentralSystemHandler ¶
func NewMockReservationCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockReservationCentralSystemHandler
NewMockReservationCentralSystemHandler creates a new instance of MockReservationCentralSystemHandler. 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 (*MockReservationCentralSystemHandler) EXPECT ¶
func (_m *MockReservationCentralSystemHandler) EXPECT() *MockReservationCentralSystemHandler_Expecter
type MockReservationCentralSystemHandler_Expecter ¶
type MockReservationCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
type MockReservationChargePointHandler ¶
MockReservationChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockReservationChargePointHandler ¶
func NewMockReservationChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockReservationChargePointHandler
NewMockReservationChargePointHandler creates a new instance of MockReservationChargePointHandler. 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 (*MockReservationChargePointHandler) EXPECT ¶
func (_m *MockReservationChargePointHandler) EXPECT() *MockReservationChargePointHandler_Expecter
func (*MockReservationChargePointHandler) OnCancelReservation ¶
func (_m *MockReservationChargePointHandler) OnCancelReservation(request *reservation.CancelReservationRequest) (*reservation.CancelReservationConfirmation, error)
OnCancelReservation provides a mock function with given fields: request
func (*MockReservationChargePointHandler) OnReserveNow ¶
func (_m *MockReservationChargePointHandler) OnReserveNow(request *reservation.ReserveNowRequest) (*reservation.ReserveNowConfirmation, error)
OnReserveNow provides a mock function with given fields: request
type MockReservationChargePointHandler_Expecter ¶
type MockReservationChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockReservationChargePointHandler_Expecter) OnCancelReservation ¶
func (_e *MockReservationChargePointHandler_Expecter) OnCancelReservation(request interface{}) *MockReservationChargePointHandler_OnCancelReservation_Call
OnCancelReservation is a helper method to define mock.On call
- request *reservation.CancelReservationRequest
func (*MockReservationChargePointHandler_Expecter) OnReserveNow ¶
func (_e *MockReservationChargePointHandler_Expecter) OnReserveNow(request interface{}) *MockReservationChargePointHandler_OnReserveNow_Call
OnReserveNow is a helper method to define mock.On call
- request *reservation.ReserveNowRequest
type MockReservationChargePointHandler_OnCancelReservation_Call ¶
MockReservationChargePointHandler_OnCancelReservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnCancelReservation'
func (*MockReservationChargePointHandler_OnCancelReservation_Call) Return ¶
func (_c *MockReservationChargePointHandler_OnCancelReservation_Call) Return(confirmation *reservation.CancelReservationConfirmation, err error) *MockReservationChargePointHandler_OnCancelReservation_Call
func (*MockReservationChargePointHandler_OnCancelReservation_Call) Run ¶
func (_c *MockReservationChargePointHandler_OnCancelReservation_Call) Run(run func(request *reservation.CancelReservationRequest)) *MockReservationChargePointHandler_OnCancelReservation_Call
func (*MockReservationChargePointHandler_OnCancelReservation_Call) RunAndReturn ¶
type MockReservationChargePointHandler_OnReserveNow_Call ¶
MockReservationChargePointHandler_OnReserveNow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReserveNow'
func (*MockReservationChargePointHandler_OnReserveNow_Call) Return ¶
func (_c *MockReservationChargePointHandler_OnReserveNow_Call) Return(confirmation *reservation.ReserveNowConfirmation, err error) *MockReservationChargePointHandler_OnReserveNow_Call
func (*MockReservationChargePointHandler_OnReserveNow_Call) Run ¶
func (_c *MockReservationChargePointHandler_OnReserveNow_Call) Run(run func(request *reservation.ReserveNowRequest)) *MockReservationChargePointHandler_OnReserveNow_Call
func (*MockReservationChargePointHandler_OnReserveNow_Call) RunAndReturn ¶
func (_c *MockReservationChargePointHandler_OnReserveNow_Call) RunAndReturn(run func(*reservation.ReserveNowRequest) (*reservation.ReserveNowConfirmation, error)) *MockReservationChargePointHandler_OnReserveNow_Call
type MockSecureFirmwareCentralSystemHandler ¶
MockSecureFirmwareCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockSecureFirmwareCentralSystemHandler ¶
func NewMockSecureFirmwareCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecureFirmwareCentralSystemHandler
NewMockSecureFirmwareCentralSystemHandler creates a new instance of MockSecureFirmwareCentralSystemHandler. 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 (*MockSecureFirmwareCentralSystemHandler) EXPECT ¶
func (_m *MockSecureFirmwareCentralSystemHandler) EXPECT() *MockSecureFirmwareCentralSystemHandler_Expecter
func (*MockSecureFirmwareCentralSystemHandler) OnSignedFirmwareStatusNotification ¶
func (_m *MockSecureFirmwareCentralSystemHandler) OnSignedFirmwareStatusNotification(chargingStationID string, request *securefirmware.SignedFirmwareStatusNotificationRequest) (*securefirmware.SignedFirmwareStatusNotificationResponse, error)
OnSignedFirmwareStatusNotification provides a mock function with given fields: chargingStationID, request
type MockSecureFirmwareCentralSystemHandler_Expecter ¶
type MockSecureFirmwareCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecureFirmwareCentralSystemHandler_Expecter) OnSignedFirmwareStatusNotification ¶
func (_e *MockSecureFirmwareCentralSystemHandler_Expecter) OnSignedFirmwareStatusNotification(chargingStationID interface{}, request interface{}) *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call
OnSignedFirmwareStatusNotification is a helper method to define mock.On call
- chargingStationID string
- request *securefirmware.SignedFirmwareStatusNotificationRequest
type MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call ¶
type MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call struct {
*mock.Call
}
MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSignedFirmwareStatusNotification'
func (*MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) Return ¶
func (*MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) Run ¶
func (_c *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) Run(run func(chargingStationID string, request *securefirmware.SignedFirmwareStatusNotificationRequest)) *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call
func (*MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) RunAndReturn ¶
func (_c *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call) RunAndReturn(run func(string, *securefirmware.SignedFirmwareStatusNotificationRequest) (*securefirmware.SignedFirmwareStatusNotificationResponse, error)) *MockSecureFirmwareCentralSystemHandler_OnSignedFirmwareStatusNotification_Call
type MockSecureFirmwareChargePointHandler ¶
MockSecureFirmwareChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockSecureFirmwareChargePointHandler ¶
func NewMockSecureFirmwareChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecureFirmwareChargePointHandler
NewMockSecureFirmwareChargePointHandler creates a new instance of MockSecureFirmwareChargePointHandler. 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 (*MockSecureFirmwareChargePointHandler) EXPECT ¶
func (_m *MockSecureFirmwareChargePointHandler) EXPECT() *MockSecureFirmwareChargePointHandler_Expecter
func (*MockSecureFirmwareChargePointHandler) OnSignedUpdateFirmware ¶
func (_m *MockSecureFirmwareChargePointHandler) OnSignedUpdateFirmware(request *securefirmware.SignedUpdateFirmwareRequest) (*securefirmware.SignedUpdateFirmwareResponse, error)
OnSignedUpdateFirmware provides a mock function with given fields: request
type MockSecureFirmwareChargePointHandler_Expecter ¶
type MockSecureFirmwareChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecureFirmwareChargePointHandler_Expecter) OnSignedUpdateFirmware ¶
func (_e *MockSecureFirmwareChargePointHandler_Expecter) OnSignedUpdateFirmware(request interface{}) *MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call
OnSignedUpdateFirmware is a helper method to define mock.On call
- request *securefirmware.SignedUpdateFirmwareRequest
type MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call ¶
MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSignedUpdateFirmware'
func (*MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) Return ¶
func (*MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) Run ¶
func (*MockSecureFirmwareChargePointHandler_OnSignedUpdateFirmware_Call) RunAndReturn ¶
type MockSecurityCentralSystemHandler ¶
MockSecurityCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockSecurityCentralSystemHandler ¶
func NewMockSecurityCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecurityCentralSystemHandler
NewMockSecurityCentralSystemHandler creates a new instance of MockSecurityCentralSystemHandler. 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 (*MockSecurityCentralSystemHandler) EXPECT ¶
func (_m *MockSecurityCentralSystemHandler) EXPECT() *MockSecurityCentralSystemHandler_Expecter
func (*MockSecurityCentralSystemHandler) OnSecurityEventNotification ¶
func (_m *MockSecurityCentralSystemHandler) OnSecurityEventNotification(chargingStationID string, request *security.SecurityEventNotificationRequest) (*security.SecurityEventNotificationResponse, error)
OnSecurityEventNotification provides a mock function with given fields: chargingStationID, request
func (*MockSecurityCentralSystemHandler) OnSignCertificate ¶
func (_m *MockSecurityCentralSystemHandler) OnSignCertificate(chargingStationID string, request *security.SignCertificateRequest) (*security.SignCertificateResponse, error)
OnSignCertificate provides a mock function with given fields: chargingStationID, request
type MockSecurityCentralSystemHandler_Expecter ¶
type MockSecurityCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecurityCentralSystemHandler_Expecter) OnSecurityEventNotification ¶
func (_e *MockSecurityCentralSystemHandler_Expecter) OnSecurityEventNotification(chargingStationID interface{}, request interface{}) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
OnSecurityEventNotification is a helper method to define mock.On call
- chargingStationID string
- request *security.SecurityEventNotificationRequest
func (*MockSecurityCentralSystemHandler_Expecter) OnSignCertificate ¶
func (_e *MockSecurityCentralSystemHandler_Expecter) OnSignCertificate(chargingStationID interface{}, request interface{}) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
OnSignCertificate is a helper method to define mock.On call
- chargingStationID string
- request *security.SignCertificateRequest
type MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call ¶
MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSecurityEventNotification'
func (*MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) Return ¶
func (*MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) Run ¶
func (_c *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) Run(run func(chargingStationID string, request *security.SecurityEventNotificationRequest)) *MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call
func (*MockSecurityCentralSystemHandler_OnSecurityEventNotification_Call) RunAndReturn ¶
type MockSecurityCentralSystemHandler_OnSignCertificate_Call ¶
MockSecurityCentralSystemHandler_OnSignCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSignCertificate'
func (*MockSecurityCentralSystemHandler_OnSignCertificate_Call) Return ¶
func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) Return(response *security.SignCertificateResponse, err error) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
func (*MockSecurityCentralSystemHandler_OnSignCertificate_Call) Run ¶
func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) Run(run func(chargingStationID string, request *security.SignCertificateRequest)) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
func (*MockSecurityCentralSystemHandler_OnSignCertificate_Call) RunAndReturn ¶
func (_c *MockSecurityCentralSystemHandler_OnSignCertificate_Call) RunAndReturn(run func(string, *security.SignCertificateRequest) (*security.SignCertificateResponse, error)) *MockSecurityCentralSystemHandler_OnSignCertificate_Call
type MockSecurityChargePointHandler ¶
MockSecurityChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockSecurityChargePointHandler ¶
func NewMockSecurityChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSecurityChargePointHandler
NewMockSecurityChargePointHandler creates a new instance of MockSecurityChargePointHandler. 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 (*MockSecurityChargePointHandler) EXPECT ¶
func (_m *MockSecurityChargePointHandler) EXPECT() *MockSecurityChargePointHandler_Expecter
func (*MockSecurityChargePointHandler) OnCertificateSigned ¶
func (_m *MockSecurityChargePointHandler) OnCertificateSigned(request *security.CertificateSignedRequest) (*security.CertificateSignedResponse, error)
OnCertificateSigned provides a mock function with given fields: request
type MockSecurityChargePointHandler_Expecter ¶
type MockSecurityChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecurityChargePointHandler_Expecter) OnCertificateSigned ¶
func (_e *MockSecurityChargePointHandler_Expecter) OnCertificateSigned(request interface{}) *MockSecurityChargePointHandler_OnCertificateSigned_Call
OnCertificateSigned is a helper method to define mock.On call
- request *security.CertificateSignedRequest
type MockSecurityChargePointHandler_OnCertificateSigned_Call ¶
MockSecurityChargePointHandler_OnCertificateSigned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnCertificateSigned'
func (*MockSecurityChargePointHandler_OnCertificateSigned_Call) Return ¶
func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) Return(response *security.CertificateSignedResponse, err error) *MockSecurityChargePointHandler_OnCertificateSigned_Call
func (*MockSecurityChargePointHandler_OnCertificateSigned_Call) Run ¶
func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) Run(run func(request *security.CertificateSignedRequest)) *MockSecurityChargePointHandler_OnCertificateSigned_Call
func (*MockSecurityChargePointHandler_OnCertificateSigned_Call) RunAndReturn ¶
func (_c *MockSecurityChargePointHandler_OnCertificateSigned_Call) RunAndReturn(run func(*security.CertificateSignedRequest) (*security.CertificateSignedResponse, error)) *MockSecurityChargePointHandler_OnCertificateSigned_Call
type MockSmartChargingCentralSystemHandler ¶
MockSmartChargingCentralSystemHandler is an autogenerated mock type for the CentralSystemHandler type
func NewMockSmartChargingCentralSystemHandler ¶
func NewMockSmartChargingCentralSystemHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSmartChargingCentralSystemHandler
NewMockSmartChargingCentralSystemHandler creates a new instance of MockSmartChargingCentralSystemHandler. 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 (*MockSmartChargingCentralSystemHandler) EXPECT ¶
func (_m *MockSmartChargingCentralSystemHandler) EXPECT() *MockSmartChargingCentralSystemHandler_Expecter
type MockSmartChargingCentralSystemHandler_Expecter ¶
type MockSmartChargingCentralSystemHandler_Expecter struct {
// contains filtered or unexported fields
}
type MockSmartChargingChargePointHandler ¶
MockSmartChargingChargePointHandler is an autogenerated mock type for the ChargePointHandler type
func NewMockSmartChargingChargePointHandler ¶
func NewMockSmartChargingChargePointHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockSmartChargingChargePointHandler
NewMockSmartChargingChargePointHandler creates a new instance of MockSmartChargingChargePointHandler. 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 (*MockSmartChargingChargePointHandler) EXPECT ¶
func (_m *MockSmartChargingChargePointHandler) EXPECT() *MockSmartChargingChargePointHandler_Expecter
func (*MockSmartChargingChargePointHandler) OnClearChargingProfile ¶
func (_m *MockSmartChargingChargePointHandler) OnClearChargingProfile(request *smartcharging.ClearChargingProfileRequest) (*smartcharging.ClearChargingProfileConfirmation, error)
OnClearChargingProfile provides a mock function with given fields: request
func (*MockSmartChargingChargePointHandler) OnGetCompositeSchedule ¶
func (_m *MockSmartChargingChargePointHandler) OnGetCompositeSchedule(request *smartcharging.GetCompositeScheduleRequest) (*smartcharging.GetCompositeScheduleConfirmation, error)
OnGetCompositeSchedule provides a mock function with given fields: request
func (*MockSmartChargingChargePointHandler) OnSetChargingProfile ¶
func (_m *MockSmartChargingChargePointHandler) OnSetChargingProfile(request *smartcharging.SetChargingProfileRequest) (*smartcharging.SetChargingProfileConfirmation, error)
OnSetChargingProfile provides a mock function with given fields: request
type MockSmartChargingChargePointHandler_Expecter ¶
type MockSmartChargingChargePointHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSmartChargingChargePointHandler_Expecter) OnClearChargingProfile ¶
func (_e *MockSmartChargingChargePointHandler_Expecter) OnClearChargingProfile(request interface{}) *MockSmartChargingChargePointHandler_OnClearChargingProfile_Call
OnClearChargingProfile is a helper method to define mock.On call
- request *smartcharging.ClearChargingProfileRequest
func (*MockSmartChargingChargePointHandler_Expecter) OnGetCompositeSchedule ¶
func (_e *MockSmartChargingChargePointHandler_Expecter) OnGetCompositeSchedule(request interface{}) *MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call
OnGetCompositeSchedule is a helper method to define mock.On call
- request *smartcharging.GetCompositeScheduleRequest
func (*MockSmartChargingChargePointHandler_Expecter) OnSetChargingProfile ¶
func (_e *MockSmartChargingChargePointHandler_Expecter) OnSetChargingProfile(request interface{}) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
OnSetChargingProfile is a helper method to define mock.On call
- request *smartcharging.SetChargingProfileRequest
type MockSmartChargingChargePointHandler_OnClearChargingProfile_Call ¶
MockSmartChargingChargePointHandler_OnClearChargingProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnClearChargingProfile'
func (*MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) Return ¶
func (*MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) Run ¶
func (*MockSmartChargingChargePointHandler_OnClearChargingProfile_Call) RunAndReturn ¶
type MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call ¶
MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnGetCompositeSchedule'
func (*MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) Return ¶
func (*MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) Run ¶
func (*MockSmartChargingChargePointHandler_OnGetCompositeSchedule_Call) RunAndReturn ¶
type MockSmartChargingChargePointHandler_OnSetChargingProfile_Call ¶
MockSmartChargingChargePointHandler_OnSetChargingProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnSetChargingProfile'
func (*MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) Return ¶
func (_c *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) Return(confirmation *smartcharging.SetChargingProfileConfirmation, err error) *MockSmartChargingChargePointHandler_OnSetChargingProfile_Call
func (*MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) Run ¶
func (*MockSmartChargingChargePointHandler_OnSetChargingProfile_Call) RunAndReturn ¶
Source Files
¶
- mock_certificates_charge_point_handler.go
- mock_core_central_system_handler.go
- mock_core_charge_point_handler.go
- mock_extended_trigger_message_charge_point_handler.go
- mock_firmware_central_system_handler.go
- mock_firmware_charge_point_handler.go
- mock_local_auth_list_central_system_handler.go
- mock_local_auth_list_charge_point_handler.go
- mock_logging_central_system_handler.go
- mock_logging_charge_point_handler.go
- mock_ocpp16.go
- mock_remote_trigger_central_system_handler.go
- mock_remote_trigger_charge_point_handler.go
- mock_reservation_central_system_handler.go
- mock_reservation_charge_point_handler.go
- mock_secure_firmware_CentralSystemHandler.go
- mock_secure_firmware_ChargePointHandler.go
- mock_security_central_system_handler.go
- mock_security_charge_point_handler.go
- mock_smart_charging_central_system_handler.go
- mock_smart_charging_charge_point_handler.go