ebpfsyncer

package
v0.0.0-...-1e43b4c Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EbpfSyncer

type EbpfSyncer interface {
	SyncInterfaceIngressRules(map[string][]infv1alpha1.IngressNodeFirewallRules, bool) error
}

EbpfSyncer is a single point of contact that all reconciliation requests will send their desired state of interface rules to. On the other side, ebpfDaemon makes sure that rules are attached and detached from / to the host's interfaces.

func GetEbpfSyncer

func GetEbpfSyncer(ctx context.Context, log logr.Logger, stats *metrics.Statistics, mock EbpfSyncer) EbpfSyncer

GetEbpfSyncer allocates and returns a single instance of ebpfSingleton. If such an instance does not yet exist, it sets up a new one. It will do so only once. Then, it returns the instance.

Jump to

Keyboard shortcuts

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