networkstream

package
v0.2.322 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 24 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 processmanager.ProcessManagerClient) (*NetworkStream, error)

func (*NetworkStream) ContainerCallback

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

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

Jump to

Keyboard shortcuts

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