shoot

package
v1.78.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 61 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "shoot"

ControllerName is the name of this controller.

Variables

View Source
var CalculateControllerInfos = helper.CalculateControllerInfos

CalculateControllerInfos is exposed for testing

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	GardenClient                client.Client
	SeedClientSet               kubernetes.Interface
	ShootClientMap              clientmap.ClientMap
	Config                      config.GardenletConfiguration
	Recorder                    record.EventRecorder
	Identity                    *gardencorev1beta1.Gardener
	GardenClusterIdentity       string
	Clock                       clock.Clock
	ShootStateControllerEnabled bool
}

Reconciler implements the main shoot reconciliation logic, i.e., creation, hibernation, migration and deletion.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, gardenCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) EventHandler

func (r *Reconciler) EventHandler(log logr.Logger) handler.EventHandler

EventHandler returns an event handler.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile implements the main shoot reconciliation logic, i.e., creation, hibernation, migration and deletion.

Directories

Path Synopsis
Package helper contains helpers for the gardenlet's shoot main controller.
Package helper contains helpers for the gardenlet's shoot main controller.

Jump to

Keyboard shortcuts

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