shoot

package
v1.111.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

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