eventplatform

package
v0.0.0-...-46749fd Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package eventplatform contains the logic for forwarding events to the event platform

Index

Constants

View Source
const (
	// EventTypeNetworkDevicesMetadata is the event type for network devices metadata
	EventTypeNetworkDevicesMetadata = "network-devices-metadata"

	// EventTypeSnmpTraps is the event type for snmp traps
	EventTypeSnmpTraps = "network-devices-snmp-traps"

	// EventTypeNetworkDevicesNetFlow is the event type for network devices NetFlow data
	EventTypeNetworkDevicesNetFlow = "network-devices-netflow"

	// EventTypeNetworkPath is the event type for network devices Network Path data
	EventTypeNetworkPath = "network-path"

	// EventTypeContainerLifecycle represents a container lifecycle event
	EventTypeContainerLifecycle = "container-lifecycle"
	// EventTypeContainerImages represents a container images event
	EventTypeContainerImages = "container-images"
	// EventTypeContainerSBOM represents a container SBOM event
	EventTypeContainerSBOM = "container-sbom"

	// EventTypeServiceDiscovery represents an instrumentation-telemetry event
	EventTypeServiceDiscovery = "service-discovery"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	// Get the forwarder instance if it exists.
	Get() (Forwarder, bool)
}

Component is the interface of the event platform forwarder component.

type Forwarder

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

Forwarder is the interface of the event platform forwarder.

Directories

Path Synopsis
Package eventplatformimpl contains the logic for forwarding events to the event platform
Package eventplatformimpl contains the logic for forwarding events to the event platform

Jump to

Keyboard shortcuts

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