networkstream

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkStream

type NetworkStream struct {
	// contains filtered or unexported fields
}

func NewNetworkStream

func NewNetworkStream(ctx context.Context, cfg config.Config, k8sObjectCache objectcache.K8sObjectCache, dnsResolver dnsmanager.DNSResolver, nodeName string, eventsNotificationChannel chan apitypes.NetworkStream, dnsSupport bool, processTreeManager processtree.ProcessTreeManager) (*NetworkStream, error)

func (*NetworkStream) ContainerCallback

func (ns *NetworkStream) ContainerCallback(notif containercollection.PubSubEvent)

func (*NetworkStream) ReportEnrichedEvent added in v0.2.354

func (ns *NetworkStream) ReportEnrichedEvent(enrichedEvent *events.EnrichedEvent)

func (*NetworkStream) ReportEvent

func (ns *NetworkStream) ReportEvent(eventType utils.EventType, event utils.K8sEvent)

func (*NetworkStream) Start

func (ns *NetworkStream) Start()

Periodically send the network events to the exporter

type WorkloadKind added in v0.2.351

type WorkloadKind string
const (
	Deployment  WorkloadKind = "Deployment"
	StatefulSet WorkloadKind = "StatefulSet"
	DaemonSet   WorkloadKind = "DaemonSet"
	CronJob     WorkloadKind = "CronJob"
	ReplicaSet  WorkloadKind = "ReplicaSet"
)

Jump to

Keyboard shortcuts

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