Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, virtualCluster cluster.Cluster) error
- func (r *Reconciler) OperatorResponsiblePredicate(ctx context.Context) predicate.Predicate
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ControllerName = "gardenlet"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { RuntimeCluster cluster.Cluster RuntimeClient client.Client VirtualConfig *rest.Config VirtualAPIReader client.Reader VirtualClient client.Client Config config.GardenletDeployerControllerConfig Clock clock.Clock Recorder record.EventRecorder HelmRegistry oci.Interface GardenNamespaceTarget string }
Reconciler reconciles the Gardenlet.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, virtualCluster cluster.Cluster) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) OperatorResponsiblePredicate ¶
func (r *Reconciler) OperatorResponsiblePredicate(ctx context.Context) predicate.Predicate
OperatorResponsiblePredicate is a predicate for checking whether the Seed object has already been created for the Gardenlet resource, and whether the kubeconfig secret ref has been removed.
Click to show internal directories.
Click to hide internal directories.