busutils

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableSchedule

func DisableSchedule(logger *zap.Logger, bus busTY.Plugin, id string)

DisableSchedule sends id to resource service

func DisableTask

func DisableTask(logger *zap.Logger, bus busTY.Plugin, id string)

DisableTask sends id to resource service

func EnableTask

func EnableTask(logger *zap.Logger, bus busTY.Plugin, id string)

EnableTask sends id to resource service

func PostEvent

func PostEvent(logger *zap.Logger, bus busTY.Plugin, eventTopic, eventType, entityType string, entity interface{})

PostEvent sends resource as event.

func PostServiceEvent

func PostServiceEvent(logger *zap.Logger, bus busTY.Plugin, topic, serviceType, serviceCommand, data string)

PostEvent sends job change notification.

func PostShutdownEvent

func PostShutdownEvent(logger *zap.Logger, bus busTY.Plugin)

PostShutdownEvent asks the system to shutdown

func PostToHandler

func PostToHandler(logger *zap.Logger, bus busTY.Plugin, handlers []string, parameters map[string]interface{})

PostToHandler send data to handlers

func PostToResourceService

func PostToResourceService(logger *zap.Logger, bus busTY.Plugin, id string, data interface{}, serviceType, command, replyTopic string)

PostToResourceService to resource service

func PostToService

func PostToService(logger *zap.Logger, bus busTY.Plugin, serviceTopic, id string, data interface{}, serviceType, command, replyTopic string)

PostToService posts to a service

func SetGatewayState

func SetGatewayState(logger *zap.Logger, bus busTY.Plugin, id string, state types.State)

SetGatewayState send gateway status into bus

func SetHandlerState

func SetHandlerState(logger *zap.Logger, bus busTY.Plugin, id string, state types.State)

SetHandlerState send handler status into bus

func SetScheduleState

func SetScheduleState(logger *zap.Logger, bus busTY.Plugin, id string, state schedulerTY.State)

SetScheduleState send handler status into bus

func SetTaskState

func SetTaskState(logger *zap.Logger, bus busTY.Plugin, id string, state taskTY.State)

SetTaskState send handler status into bus

func SetVirtualAssistantState

func SetVirtualAssistantState(logger *zap.Logger, bus busTY.Plugin, id string, state types.State)

SetVirtualAssistantState send assistant status into bus

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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