Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddControllersToManager ¶ added in v1.58.0
func AddControllersToManager( mgr manager.Manager, gardenCluster cluster.Cluster, seedCluster cluster.Cluster, seedClientSet kubernetes.Interface, cfg *config.GardenletConfiguration, gardenNamespace *corev1.Namespace, gardenClusterIdentity string, ) error
AddControllersToManager 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
HealthManager healthz.Manager
GardenClusterIdentity string
}
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.