Help us shape the future of Go! Take the 2026 Go Developer Survey

shoot

package
v1.153.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 35 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        events.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) ShootIsNotSelfHosted

func (r *Reconciler) ShootIsNotSelfHosted() predicate.Predicate

ShootIsNotSelfHosted is a predicate that returns true if a shoot is not mark as 'self-hosted shoot cluster' (meaning, that the control plane components run in the same cluster, hence, no seed selection is required).

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