Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager) error
- func (r *Reconciler) DetermineSeed(ctx context.Context, log logr.Logger, shoot *gardencorev1beta1.Shoot) (*gardencorev1beta1.Seed, error)
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) ShootSpecChangedPredicate() predicate.Predicate
- func (r *Reconciler) ShootUnassignedPredicate() predicate.Predicate
Constants ¶
View Source
const ControllerName = "shoot"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v1.57.0
type Reconciler struct { Client client.Client Config *schedulerconfigv1alpha1.ShootSchedulerConfiguration GardenNamespace string Recorder record.EventRecorder }
Reconciler schedules shoots to seeds.
func (*Reconciler) AddToManager ¶ added in v1.57.0
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) DetermineSeed ¶ added in v1.109.0
func (r *Reconciler) DetermineSeed( ctx context.Context, log logr.Logger, shoot *gardencorev1beta1.Shoot, ) ( *gardencorev1beta1.Seed, error, )
DetermineSeed returns an appropriate Seed cluster (or nil).
func (*Reconciler) Reconcile ¶ added in v1.57.0
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile schedules shoots to seeds.
func (*Reconciler) ShootSpecChangedPredicate ¶ added in v1.109.0
func (r *Reconciler) ShootSpecChangedPredicate() predicate.Predicate
ShootSpecChangedPredicate is a predicate that returns true if the shoot spec was updated.
func (*Reconciler) ShootUnassignedPredicate ¶ added in v1.109.0
func (r *Reconciler) ShootUnassignedPredicate() predicate.Predicate
ShootUnassignedPredicate is a predicate that returns true if a shoot is not assigned to a seed and the default scheduler is configured.
Click to show internal directories.
Click to hide internal directories.