mocks

package
v1.2.2-dev.75 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressDeleter

type AddressDeleter struct {
	mock.Mock
}

AddressDeleter is an autogenerated mock type for the AddressDeleter type

func (*AddressDeleter) DeleteAddressableById

func (_m *AddressDeleter) DeleteAddressableById(id string) error

DeleteAddressableById provides a mock function with given fields: id

func (*AddressDeleter) GetAddressableById

func (_m *AddressDeleter) GetAddressableById(id string) (models.Addressable, error)

GetAddressableById provides a mock function with given fields: id

func (*AddressDeleter) GetAddressableByName

func (_m *AddressDeleter) GetAddressableByName(n string) (models.Addressable, error)

GetAddressableByName provides a mock function with given fields: n

func (*AddressDeleter) GetAddressables

func (_m *AddressDeleter) GetAddressables() ([]models.Addressable, error)

GetAddressables provides a mock function with given fields:

func (*AddressDeleter) GetAddressablesByAddress

func (_m *AddressDeleter) GetAddressablesByAddress(address string) ([]models.Addressable, error)

GetAddressablesByAddress provides a mock function with given fields: address

func (*AddressDeleter) GetAddressablesByPort

func (_m *AddressDeleter) GetAddressablesByPort(p int) ([]models.Addressable, error)

GetAddressablesByPort provides a mock function with given fields: p

func (*AddressDeleter) GetAddressablesByPublisher

func (_m *AddressDeleter) GetAddressablesByPublisher(p string) ([]models.Addressable, error)

GetAddressablesByPublisher provides a mock function with given fields: p

func (*AddressDeleter) GetAddressablesByTopic

func (_m *AddressDeleter) GetAddressablesByTopic(t string) ([]models.Addressable, error)

GetAddressablesByTopic provides a mock function with given fields: t

func (*AddressDeleter) GetDeviceServicesByAddressableId

func (_m *AddressDeleter) GetDeviceServicesByAddressableId(id string) ([]models.DeviceService, error)

GetDeviceServicesByAddressableId provides a mock function with given fields: id

type AddressLoader

type AddressLoader struct {
	mock.Mock
}

AddressLoader is an autogenerated mock type for the AddressLoader type

func (*AddressLoader) GetAddressableById

func (_m *AddressLoader) GetAddressableById(id string) (models.Addressable, error)

GetAddressableById provides a mock function with given fields: id

func (*AddressLoader) GetAddressableByName

func (_m *AddressLoader) GetAddressableByName(n string) (models.Addressable, error)

GetAddressableByName provides a mock function with given fields: n

func (*AddressLoader) GetAddressables

func (_m *AddressLoader) GetAddressables() ([]models.Addressable, error)

GetAddressables provides a mock function with given fields:

func (*AddressLoader) GetAddressablesByAddress

func (_m *AddressLoader) GetAddressablesByAddress(address string) ([]models.Addressable, error)

GetAddressablesByAddress provides a mock function with given fields: address

func (*AddressLoader) GetAddressablesByPort

func (_m *AddressLoader) GetAddressablesByPort(p int) ([]models.Addressable, error)

GetAddressablesByPort provides a mock function with given fields: p

func (*AddressLoader) GetAddressablesByPublisher

func (_m *AddressLoader) GetAddressablesByPublisher(p string) ([]models.Addressable, error)

GetAddressablesByPublisher provides a mock function with given fields: p

func (*AddressLoader) GetAddressablesByTopic

func (_m *AddressLoader) GetAddressablesByTopic(t string) ([]models.Addressable, error)

GetAddressablesByTopic provides a mock function with given fields: t

type AddressUpdater

type AddressUpdater struct {
	mock.Mock
}

AddressUpdater is an autogenerated mock type for the AddressUpdater type

func (*AddressUpdater) AddAddressable

func (_m *AddressUpdater) AddAddressable(_a0 models.Addressable) (string, error)

AddAddressable provides a mock function with given fields: _a0

func (*AddressUpdater) GetAddressableById

func (_m *AddressUpdater) GetAddressableById(id string) (models.Addressable, error)

GetAddressableById provides a mock function with given fields: id

func (*AddressUpdater) GetAddressableByName

func (_m *AddressUpdater) GetAddressableByName(n string) (models.Addressable, error)

GetAddressableByName provides a mock function with given fields: n

func (*AddressUpdater) GetAddressables

func (_m *AddressUpdater) GetAddressables() ([]models.Addressable, error)

GetAddressables provides a mock function with given fields:

func (*AddressUpdater) GetAddressablesByAddress

func (_m *AddressUpdater) GetAddressablesByAddress(address string) ([]models.Addressable, error)

GetAddressablesByAddress provides a mock function with given fields: address

func (*AddressUpdater) GetAddressablesByPort

func (_m *AddressUpdater) GetAddressablesByPort(p int) ([]models.Addressable, error)

GetAddressablesByPort provides a mock function with given fields: p

func (*AddressUpdater) GetAddressablesByPublisher

func (_m *AddressUpdater) GetAddressablesByPublisher(p string) ([]models.Addressable, error)

GetAddressablesByPublisher provides a mock function with given fields: p

func (*AddressUpdater) GetAddressablesByTopic

func (_m *AddressUpdater) GetAddressablesByTopic(t string) ([]models.Addressable, error)

GetAddressablesByTopic provides a mock function with given fields: t

func (*AddressUpdater) GetDeviceServicesByAddressableId

func (_m *AddressUpdater) GetDeviceServicesByAddressableId(id string) ([]models.DeviceService, error)

GetDeviceServicesByAddressableId provides a mock function with given fields: id

func (*AddressUpdater) UpdateAddressable

func (_m *AddressUpdater) UpdateAddressable(_a0 models.Addressable) error

UpdateAddressable provides a mock function with given fields: _a0

type AddressWriter

type AddressWriter struct {
	mock.Mock
}

AddressWriter is an autogenerated mock type for the AddressWriter type

func (*AddressWriter) AddAddressable

func (_m *AddressWriter) AddAddressable(_a0 models.Addressable) (string, error)

AddAddressable provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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