package
2.13.0+incompatible
Repository: https://github.com/opencord/bbsim.git
Documentation: pkg.go.dev

# Functions

Contains tells whether arr contains element.
DMKafkaPublisher receives messages on ch and publish them to kafka on topic.
InitializeDMKafkaPublishers initializes metrics kafka publisher.
No description provided by the author
No description provided by the author
StartDmiAPIServer starts a new grpc server for the Device Manager Interface.
StartEventsGenerator initializes the event generator.
StartGeneratingMetrics starts the goroutine which submits metrics to the metrics channel.
StartMetricGenerator starts the metric generator.
StopGeneratingMetrics stops the goroutine which submits metrics to the metrics channel.
StopMetricGenerator stops the generation of metrics and cleans up all local context.
UpdateEventConfig Adds/Updates the passed event configuration.
UpdateMetricConfig Adds/Updates the passed metric configuration.

# Structs

DmiAPIServer has the attributes for the Server handling the Device Management Interface.
DmiEventsGenerator has the attributes for generating events.
DmiMetricsGenerator has the attributes for generating metrics.
MetricTriggerConfig is the configuration of a metric and the time at which it will be exported.
No description provided by the author

# Type aliases

MetricGenerationFunc to generate the metrics to the kafka bus.