Documentation ¶
Index ¶
- func NewPartialMockEnv(baseCtx context.Context, wg *sync.WaitGroup, startConfig config.Config, ...) (config config.Config, ctrl *controller.Controller, prod *producer.Producer, ...)
- type VoidProducerMock
- func (v VoidProducerMock) PublishAspectDelete(id string, owner string) error
- func (v VoidProducerMock) PublishAspectUpdate(aspect models.Aspect, owner string) error
- func (v VoidProducerMock) PublishDevice(element models.Device, userId string) error
- func (v VoidProducerMock) PublishDeviceDelete(id string, owner string) error
- func (v VoidProducerMock) PublishDeviceRights(deviceId string, userId string, rights model.ResourceRights) (err error)
- func (v VoidProducerMock) PublishHub(hub models.Hub, userId string) (err error)
- func (v VoidProducerMock) SendDone(msg donewait.DoneMsg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VoidProducerMock ¶
type VoidProducerMock struct{}
func (VoidProducerMock) PublishAspectDelete ¶
func (v VoidProducerMock) PublishAspectDelete(id string, owner string) error
func (VoidProducerMock) PublishAspectUpdate ¶
func (v VoidProducerMock) PublishAspectUpdate(aspect models.Aspect, owner string) error
func (VoidProducerMock) PublishDevice ¶ added in v0.0.18
func (v VoidProducerMock) PublishDevice(element models.Device, userId string) error
func (VoidProducerMock) PublishDeviceDelete ¶
func (v VoidProducerMock) PublishDeviceDelete(id string, owner string) error
func (VoidProducerMock) PublishDeviceRights ¶ added in v0.0.18
func (v VoidProducerMock) PublishDeviceRights(deviceId string, userId string, rights model.ResourceRights) (err error)
func (VoidProducerMock) PublishHub ¶
func (v VoidProducerMock) PublishHub(hub models.Hub, userId string) (err error)
Click to show internal directories.
Click to hide internal directories.