Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "shoot"
ControllerName is the name of this controller.
Variables ¶
View Source
var ( // DefaultInterval is the default interval for retry operations. DefaultInterval = 5 * time.Second // DefaultTimeout is the default timeout for waiting for resources to be migrated or deleted. DefaultTimeout = 5 * time.Minute )
View Source
var CalculateControllerInfos = helper.CalculateControllerInfos
CalculateControllerInfos is exposed for testing
Functions ¶
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 ¶
AddToManager adds Reconciler to the given manager.
func (*Reconciler) EventHandler ¶
func (r *Reconciler) EventHandler(log logr.Logger) handler.EventHandler
EventHandler returns an event handler.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.