clustermanager

package
v0.0.0-...-55df139 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

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) Start

func (cm *ClusterManager) Start(ctx context.Context) error

Start the cluster manager.

func (*ClusterManager) Stop

func (cm *ClusterManager) Stop()

Stop the cluster manager.

type NetworkStatusReporter

type NetworkStatusReporter func(networkName string, fieldManager string, condition *metav1.Condition, events ...*util.EventDetails) error

Jump to

Keyboard shortcuts

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