controller

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NatPolicy

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

type Server

type Server interface {
	Start() error
	Stop()
}

Server CNI Server.

func NewServer

func NewServer(ctx context.Context,
	kubeController k8s.Controller, msgBroker *messaging.Broker, stop chan struct{},
	enableE4lb, enableE4lbIPv4, enableE4lbIPv6, enableMesh, upgradeProg, uninstallProg bool, cniBridges []net.Interface,
	meshCfgIPv4Magic, meshCfgIPv6Magic, e4lbCfgIPv4Magic, e4lbCfgIPv6Magic string,
	meshFilterPortInbound, meshFilterPortOutbound string,
	flushTCPConnTrackCrontab string, flushTCPConnTrackIdleSeconds, flushTCPConnTrackBatchSize int,
	flushUDPConnTrackCrontab string, flushUDPConnTrackIdleSeconds, flushUDPConnTrackBatchSize int) Server

NewServer returns a new CNI Server. the path this the unix path to listen.

Jump to

Keyboard shortcuts

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