Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager) error
- func (r *Reconciler) ControllerInstallationPredicate() predicate.Predicate
- func (r *Reconciler) MapControllerInstallationToSeed(_ 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 = "seed-extensions-check"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Config config.SeedExtensionsCheckControllerConfiguration Clock clock.Clock }
Reconciler reconciles Seeds and maintains the ExtensionsReady condition according to the observed status of the referencing ControllerInstallations.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) ControllerInstallationPredicate ¶
func (r *Reconciler) ControllerInstallationPredicate() predicate.Predicate
ControllerInstallationPredicate returns true for all events except for 'UPDATE'. Here, true is only returned when the status, reason or message of a relevant condition has changed.
func (*Reconciler) MapControllerInstallationToSeed ¶
func (r *Reconciler) MapControllerInstallationToSeed(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request
MapControllerInstallationToSeed is a mapper.MapFunc for mapping a ControllerInstallation to the referenced Seed.
Click to show internal directories.
Click to hide internal directories.