Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCRouteController ¶
type MCRouteController struct {
// contains filtered or unexported fields
}
MCRouteController watches Gateway and ClusterInfoImport events. It is responsible for setting up necessary Openflow entries for multi-cluster traffic on a Gateway or a regular Node.
func NewMCRouteController ¶
func NewMCRouteController( mcClient mcclientset.Interface, gwInformer mcinformers.GatewayInformer, ciImportInformer mcinformers.ClusterInfoImportInformer, client openflow.Client, ovsBridgeClient ovsconfig.OVSBridgeClient, interfaceStore interfacestore.InterfaceStore, nodeConfig *config.NodeConfig, namespace string, ) *MCRouteController
func (*MCRouteController) Run ¶
func (c *MCRouteController) Run(stopCh <-chan struct{})
Run will create defaultWorkers workers (go routines) which will process the Gateway events from the workqueue.
Click to show internal directories.
Click to hide internal directories.