Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "shoot-migration"
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 controllermanagerconfigv1alpha1.ShootMigrationControllerConfiguration }
Reconciler reconciles Shoots that should be prepared for the migration and sets a constraint when the destination seed is ready.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reconciles Shoots that should be prepared for the migration and sets a constraint when the destination seed is ready.
func (*Reconciler) ShootPredicate ¶
func (r *Reconciler) ShootPredicate() predicate.Predicate
ShootPredicate reacts on Shoot events that indicate that the control plane needs to be prepared for migration.
Click to show internal directories.
Click to hide internal directories.