Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶ added in v1.59.0
func AddToManager( mgr manager.Manager, gardenCluster cluster.Cluster, seedCluster cluster.Cluster, seedClientSet kubernetes.Interface, cfg *config.GardenletConfiguration, gardenNamespace *corev1.Namespace, gardenClusterIdentity string, identity *gardencorev1beta1.Gardener, healthManager healthz.Manager, ) error
AddToManager adds all gardenlet controllers to the given manager.
Types ¶
type LegacyControllerFactory ¶ added in v1.57.0
type LegacyControllerFactory struct { GardenCluster cluster.Cluster SeedCluster cluster.Cluster SeedClientSet kubernetes.Interface ShootClientMap clientmap.ClientMap Log logr.Logger Config *config.GardenletConfiguration GardenClusterIdentity string Identity *gardencorev1beta1.Gardener }
LegacyControllerFactory starts gardenlet's legacy controllers under leader election of the given manager for the purpose of gradually migrating to native controller-runtime controllers. Deprecated: this will be replaced by adding native controllers directly to the manager. New controllers should be implemented as native controller-runtime controllers right away and should be added to the manager directly.
Click to show internal directories.
Click to hide internal directories.