Documentation
¶
Index ¶
- Constants
- func AddToManager(mgr manager.Manager, ...) error
- func MapBackupBucketToSeed(_ context.Context, obj client.Object) []reconcile.Request
- func MapBackupEntryToSeed(_ context.Context, obj client.Object) []reconcile.Request
- func MapControllerDeploymentToAllSeeds(log logr.Logger, r *controllerinstallation.Reconciler) handler.MapFunc
- func MapControllerInstallationToSeed(_ context.Context, obj client.Object) []reconcile.Request
- func MapShootToSeed(_ context.Context, obj client.Object) []reconcile.Request
- func MapToAllSeeds(log logr.Logger, r *controllerinstallation.Reconciler) handler.MapFunc
- func SeedPredicate() predicate.Predicate
Constants ¶
const ControllerName = "controllerinstallation-seed"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
func AddToManager(mgr manager.Manager, config controllermanagerconfigv1alpha1.ControllerRegistrationControllerConfiguration) error
AddToManager adds the ControllerInstallation Reconciler to the given manager.
func MapBackupBucketToSeed ¶
MapBackupBucketToSeed returns a reconcile.Request object for the seed specified in the .spec.seedName field.
func MapBackupEntryToSeed ¶
MapBackupEntryToSeed returns a reconcile.Request object for the seed specified in the .spec.seedName field.
func MapControllerDeploymentToAllSeeds ¶
func MapControllerDeploymentToAllSeeds(log logr.Logger, r *controllerinstallation.Reconciler) handler.MapFunc
MapControllerDeploymentToAllSeeds returns reconcile.Request objects for all seeds in case there is at least one ControllerRegistration which references the ControllerDeployment.
func MapControllerInstallationToSeed ¶
MapControllerInstallationToSeed returns a reconcile.Request object for the seed specified in the .spec.seedRef.name field.
func MapShootToSeed ¶
MapShootToSeed returns a reconcile.Request object for the seed specified in the .spec.seedName field.
func MapToAllSeeds ¶
func MapToAllSeeds(log logr.Logger, r *controllerinstallation.Reconciler) handler.MapFunc
MapToAllSeeds returns reconcile.Request objects for all existing seeds in the system.
func SeedPredicate ¶
SeedPredicate returns true for all Seed events except for updates. Here, it returns true when there is a change in the spec or labels or annotations or when the deletion timestamp is set.
Types ¶
This section is empty.