semantic_legacy

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPartialMockEnv

func NewPartialMockEnv(baseCtx context.Context, wg *sync.WaitGroup, startConfig config.Config, t *testing.T) (config config.Config, ctrl *controller.Controller, prod *producer.Producer, err error)

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)

func (VoidProducerMock) SendDone added in v0.0.11

func (v VoidProducerMock) SendDone(msg donewait.DoneMsg) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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