Documentation
¶
Index ¶
- Constants
- func InitClusterStatusChecker(ctx context.Context, mgr ctrl.Manager) (clusterchecker.Checker, error)
- type ClusterCheckEvent
- type RemoteClusterReconciler
- type RemoteClusterStatusChecker
- type RemoteClusterUUIDReconciler
- type RemoteSubnetGarbageCollection
- type RemoteSubnetReconciler
- type RemoteVTEPGarbageCollection
- type RemoteVtepReconciler
- type UUIDMutex
Constants ¶
View Source
const ( ConditionDaemonRegistered = "DaemonRegistered" ConditionCheckerExecuted = "CheckerExecuted" )
View Source
const CheckerRemoteClusterStatus = "RemoteClusterStatus"
View Source
const ControllerRemoteCluster = "RemoteCluster"
View Source
const ControllerRemoteClusterUUID = "RemoteClusterUUID"
View Source
const ControllerRemoteSubnet = "RemoteSubnet"
View Source
const ControllerRemoteVTEP = "RemoteVTEP"
Variables ¶
This section is empty.
Functions ¶
func InitClusterStatusChecker ¶ added in v0.5.0
Types ¶
type ClusterCheckEvent ¶
type ClusterCheckEvent struct { Context context.Context Name string DaemonID managerruntime.DaemonID }
type RemoteClusterReconciler ¶
type RemoteClusterReconciler struct { context.Context client.Client Recorder record.EventRecorder UUIDMutex UUIDMutex DaemonHub managerruntime.DaemonHub Event chan<- ClusterCheckEvent LocalManager manager.Manager concurrency.ControllerConcurrency }
RemoteClusterReconciler reconciles a RemoteCluster object
func (*RemoteClusterReconciler) SetupWithManager ¶
func (r *RemoteClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteClusterStatusChecker ¶
type RemoteClusterStatusChecker struct { client.Client Logger logr.Logger CheckPeriod time.Duration DaemonHub managerruntime.DaemonHub Checker clusterchecker.Checker Event <-chan ClusterCheckEvent Recorder record.EventRecorder }
type RemoteClusterUUIDReconciler ¶
type RemoteClusterUUIDReconciler struct { client.Client Recorder record.EventRecorder UUIDMutex UUIDMutex concurrency.ControllerConcurrency }
func (*RemoteClusterUUIDReconciler) SetupWithManager ¶
func (r *RemoteClusterUUIDReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteSubnetGarbageCollection ¶
type RemoteSubnetGarbageCollection struct {
// contains filtered or unexported fields
}
func NewRemoteSubnetGarbageCollection ¶
func NewRemoteSubnetGarbageCollection(logger logr.Logger, reconciler *RemoteSubnetReconciler) *RemoteSubnetGarbageCollection
func (*RemoteSubnetGarbageCollection) EventChannel ¶
func (r *RemoteSubnetGarbageCollection) EventChannel() <-chan event.GenericEvent
type RemoteSubnetReconciler ¶
type RemoteSubnetReconciler struct { client.Client ClusterName string ParentCluster cluster.Cluster ParentClusterObject *multiclusterv1.RemoteCluster SubnetSet sets.CallbackSet }
RemoteSubnetReconciler reconciles a RemoteSubnet object
func (*RemoteSubnetReconciler) SetupWithManager ¶
func (r *RemoteSubnetReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
SetupWithManager sets up the controller with the Manager.
type RemoteVTEPGarbageCollection ¶
type RemoteVTEPGarbageCollection struct {
// contains filtered or unexported fields
}
func NewRemoteVTEPGarbageCollection ¶
func NewRemoteVTEPGarbageCollection(logger logr.Logger, eventChan chan<- event.GenericEvent, reconciler *RemoteVtepReconciler) *RemoteVTEPGarbageCollection
type RemoteVtepReconciler ¶
type RemoteVtepReconciler struct { context.Context client.Client ClusterName string ParentCluster cluster.Cluster ParentClusterObject *multiclusterv1.RemoteCluster SubnetSet sets.CallbackSet EventTrigger chan event.GenericEvent }
RemoteVtepReconciler reconciles a Node object to RemoveVtep in parent cluster
func (*RemoteVtepReconciler) RefreshAll ¶
func (r *RemoteVtepReconciler) RefreshAll()
RefreshAll will trigger all nodes to reconcile, this function should be called when recognized subnet set change
func (*RemoteVtepReconciler) SetupWithManager ¶
func (r *RemoteVtepReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.