care

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 30 Imported by: 0

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          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(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.

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