Documentation ¶
Overview ¶
Package offloadingstatuscontroller contains OffloadingStatus Controller logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OffloadingStatusReconciler ¶
type OffloadingStatusReconciler struct { client.Client Scheme *runtime.Scheme RequeueTime time.Duration }
OffloadingStatusReconciler checks the status of all remote namespaces associated with this namespaceOffloading Resource, and sets the global offloading status in according to the feedbacks received from all remote clusters.
func (*OffloadingStatusReconciler) Reconcile ¶
func (r *OffloadingStatusReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile sets the NamespaceOffloading Status checking the actual status of all remote Namespace. This reconcile is performed every RequeueTime.
func (*OffloadingStatusReconciler) SetupWithManager ¶
func (r *OffloadingStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager reconciles when a new NamespaceOffloading is created.
Click to show internal directories.
Click to hide internal directories.