Documentation ¶
Index ¶
- type ClusterManager
- func (cm *ClusterManager) CleanupStaleNetworks(validNetworks ...util.NetInfo) error
- func (cm *ClusterManager) GetDefaultNetworkController() networkmanager.ReconcilableNetworkController
- func (cm *ClusterManager) NewNetworkController(netInfo util.NetInfo) (networkmanager.NetworkController, error)
- func (cm *ClusterManager) Reconcile(name string, old, new util.NetInfo) error
- func (cm *ClusterManager) Start(ctx context.Context) error
- func (cm *ClusterManager) Stop()
- type NetworkStatusReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterManager ¶
type ClusterManager struct {
// contains filtered or unexported fields
}
ClusterManager structure is the object which manages the cluster nodes. It creates a default network controller for the default network and a secondary network cluster controller manager to manage the multi networks.
func NewClusterManager ¶
func NewClusterManager(ovnClient *util.OVNClusterManagerClientset, wf *factory.WatchFactory, identity string, wg *sync.WaitGroup, recorder record.EventRecorder) (*ClusterManager, error)
NewClusterManager creates a new cluster manager to manage the cluster nodes.
func (*ClusterManager) CleanupStaleNetworks ¶
func (cm *ClusterManager) CleanupStaleNetworks(validNetworks ...util.NetInfo) error
func (*ClusterManager) GetDefaultNetworkController ¶
func (cm *ClusterManager) GetDefaultNetworkController() networkmanager.ReconcilableNetworkController
func (*ClusterManager) NewNetworkController ¶
func (cm *ClusterManager) NewNetworkController(netInfo util.NetInfo) (networkmanager.NetworkController, error)
func (*ClusterManager) Reconcile ¶
func (cm *ClusterManager) Reconcile(name string, old, new util.NetInfo) error
type NetworkStatusReporter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.