Documentation ¶
Index ¶
- type ConfigChangeService
- func (_m *ConfigChangeService) Delete(id string)
- func (_m *ConfigChangeService) Get(id string) *model.ConfigurationChange
- func (_m *ConfigChangeService) List() []model.ConfigurationChange
- func (_m *ConfigChangeService) Save(change model.ConfigurationChange) (string, error)
- func (_m *ConfigChangeService) SearchByTimestamp(timeFrom time.Time, timeTo time.Time) []model.ConfigurationChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigChangeService ¶
ConfigChangeService is an autogenerated mock type for the ConfigChangeService type
func NewConfigChangeService ¶
func NewConfigChangeService(t mockConstructorTestingTNewConfigChangeService) *ConfigChangeService
NewConfigChangeService creates a new instance of ConfigChangeService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfigChangeService) Delete ¶
func (_m *ConfigChangeService) Delete(id string)
Delete provides a mock function with given fields: id
func (*ConfigChangeService) Get ¶
func (_m *ConfigChangeService) Get(id string) *model.ConfigurationChange
Get provides a mock function with given fields: id
func (*ConfigChangeService) List ¶
func (_m *ConfigChangeService) List() []model.ConfigurationChange
List provides a mock function with given fields:
func (*ConfigChangeService) Save ¶
func (_m *ConfigChangeService) Save(change model.ConfigurationChange) (string, error)
Save provides a mock function with given fields: change
func (*ConfigChangeService) SearchByTimestamp ¶
func (_m *ConfigChangeService) SearchByTimestamp(timeFrom time.Time, timeTo time.Time) []model.ConfigurationChange
SearchByTimestamp provides a mock function with given fields: timeFrom, timeTo
Click to show internal directories.
Click to hide internal directories.