Documentation ¶
Index ¶
- func NewNodeNetworkControllerManager(ovnClient *util.OVNClientset, wf factory.NodeWatchFactory, name string, ...) (*nodeNetworkControllerManager, error)
- type NetworkControllerManager
- func (cm *NetworkControllerManager) CleanupDeletedNetworks(validNetworks ...util.BasicNetInfo) error
- func (cm *NetworkControllerManager) NewNetworkController(nInfo util.NetInfo) (nad.NetworkController, error)
- func (cm *NetworkControllerManager) Start(ctx context.Context) error
- func (cm *NetworkControllerManager) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNodeNetworkControllerManager ¶
func NewNodeNetworkControllerManager(ovnClient *util.OVNClientset, wf factory.NodeWatchFactory, name string, wg *sync.WaitGroup, eventRecorder record.EventRecorder, routeManager *routemanager.Controller) (*nodeNetworkControllerManager, error)
NewNodeNetworkControllerManager creates a new OVN controller manager to manage all the controller for all networks
Types ¶
type NetworkControllerManager ¶
type NetworkControllerManager struct { // has SCTP support SCTPSupport bool // contains filtered or unexported fields }
NetworkControllerManager structure is the object manages all controllers for all networks
func NewNetworkControllerManager ¶
func NewNetworkControllerManager(ovnClient *util.OVNClientset, wf *factory.WatchFactory, libovsdbOvnNBClient libovsdbclient.Client, libovsdbOvnSBClient libovsdbclient.Client, recorder record.EventRecorder, wg *sync.WaitGroup) (*NetworkControllerManager, error)
NewNetworkControllerManager creates a new ovnkube controller manager to manage all the controller for all networks
func (*NetworkControllerManager) CleanupDeletedNetworks ¶
func (cm *NetworkControllerManager) CleanupDeletedNetworks(validNetworks ...util.BasicNetInfo) error
func (*NetworkControllerManager) NewNetworkController ¶
func (cm *NetworkControllerManager) NewNetworkController(nInfo util.NetInfo) (nad.NetworkController, error)
func (*NetworkControllerManager) Start ¶
func (cm *NetworkControllerManager) Start(ctx context.Context) error
Start the ovnkube controller
func (*NetworkControllerManager) Stop ¶
func (cm *NetworkControllerManager) Stop()
Stop gracefully stops all managed controllers
Click to show internal directories.
Click to hide internal directories.