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.
Click to show internal directories.
Click to hide internal directories.