Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalIPDetector ¶
func NewLocalIPDetector() *localIPDetector
Types ¶
type EgressController ¶
type EgressController struct {
// contains filtered or unexported fields
}
func NewEgressController ¶
func NewEgressController( ofClient openflow.Client, egressInformer crdinformers.EgressInformer, antreaClientGetter agent.AntreaClientProvider, ifaceStore interfacestore.InterfaceStore, routeClient route.Interface, nodeName string, ) *EgressController
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.
type LocalIPDetector ¶
type LocalIPDetector interface { IsLocalIP(ip string) bool // Run starts the detector. Run(stopCh <-chan struct{}) // AddEventHandler registers an eventHandler of IP address update. It's not thread-safe and should be called before // starting the detector. AddEventHandler(handler eventHandler) // HasSynced returns true if the cache has been initialized with the full lists of IP addresses. HasSynced() bool }
Click to show internal directories.
Click to hide internal directories.