egress

package
Version: v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 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 EgressController

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

func NewEgressController

func NewEgressController(
	ofClient openflow.Client,
	antreaClientGetter agent.AntreaClientProvider,
	crdClient clientsetversioned.Interface,
	ifaceStore interfacestore.InterfaceStore,
	routeClient route.Interface,
	nodeName string,
	nodeTransportIP net.IP,
	cluster *memberlist.Cluster,
	egressInformer crdinformers.EgressInformer,
	podUpdateSubscriber channel.Subscriber,
	localIPDetector ipassigner.LocalIPDetector,
) (*EgressController, error)

func (*EgressController) Run

func (c *EgressController) Run(stopCh <-chan struct{})

Run will create defaultWorkers workers (go routines) which will process the Egress events from the workqueue.

Jump to

Keyboard shortcuts

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