epforwarder

package
v0.0.0-...-44638ef Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// EventTypeNetworkDevicesMetadata is the event type for network devices metadata
	EventTypeNetworkDevicesMetadata = "network-devices-metadata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPlatformForwarder

type EventPlatformForwarder interface {
	SendEventPlatformEvent(e *message.Message, eventType string) error
	Purge() map[string][]*message.Message
	Start()
	Stop()
}

An EventPlatformForwarder forwards Messages to a destination based on their event type

func NewEventPlatformForwarder

func NewEventPlatformForwarder() EventPlatformForwarder

NewEventPlatformForwarder creates a new EventPlatformForwarder

func NewNoopEventPlatformForwarder

func NewNoopEventPlatformForwarder() EventPlatformForwarder

NewNoopEventPlatformForwarder returns the standard event platform forwarder with sending disabled, meaning events will build up in each pipeline channel without being forwarded to the intake

Jump to

Keyboard shortcuts

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