Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SFLabelSelectorScheduler ¶
type SFLabelSelectorScheduler struct { client.Client Log logr.Logger // contains filtered or unexported fields }
SFLabelSelectorScheduler reconciles a SFLabelSelectorScheduler object
func (*SFLabelSelectorScheduler) Reconcile ¶
func (r *SFLabelSelectorScheduler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile schedules the SFServiceInstance to one SFCluster and sets the ClusterID in SFServiceInstance.Spec.ClusterID. It chooses the destination cluster based on clusterSelector template provided in the plan.
func (*SFLabelSelectorScheduler) SetupWithManager ¶
func (r *SFLabelSelectorScheduler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers the least utilized scheduler with manager and setups the watches.
Click to show internal directories.
Click to hide internal directories.