Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, ...) error
- func (r *Reconciler) IsExtensionDeployment() predicate.Predicate
- func (r *Reconciler) MapManagedResourceToControllerInstallation(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ControllerName = "controllerinstallation-care"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { GardenClient client.Client SeedClient client.Client Config config.ControllerInstallationCareControllerConfiguration Clock clock.Clock GardenNamespace string }
Reconciler reconciles ControllerInstallations, checks their health status and reports it via conditions.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, gardenCluster, seedCluster cluster.Cluster) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) IsExtensionDeployment ¶ added in v1.59.0
func (r *Reconciler) IsExtensionDeployment() predicate.Predicate
IsExtensionDeployment returns a predicate which evaluates to true in case the object is in the garden namespace and the 'controllerinstallation-name' label is present.
func (*Reconciler) MapManagedResourceToControllerInstallation ¶
func (r *Reconciler) MapManagedResourceToControllerInstallation(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request
MapManagedResourceToControllerInstallation is a mapper.MapFunc for mapping a ManagedResource to the owning ControllerInstallation.
Click to show internal directories.
Click to hide internal directories.