care

package
v1.149.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

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                   gardenletconfigv1alpha1.ControllerInstallationCareControllerConfiguration
	Clock                    clock.Clock
	ManagedResourceNamespace string
}

Reconciler reconciles ControllerInstallations, checks their health status and reports it via conditions.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(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(log logr.Logger) func(context.Context, client.Object) []reconcile.Request

MapManagedResourceToControllerInstallation is a handler.MapFunc for mapping a ManagedResource to the owning ControllerInstallation.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles ControllerInstallations, checks their health status and reports it via conditions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL