sflabelselectorscheduler

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 22 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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