automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigChangeService

type ConfigChangeService struct {
	mock.Mock
}

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

Get provides a mock function with given fields: id

func (*ConfigChangeService) List

List provides a mock function with given fields:

func (*ConfigChangeService) Save

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

Jump to

Keyboard shortcuts

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