Documentation ¶
Index ¶
Constants ¶
const ControllerName = "backupentry-migration"
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 Config config.BackupEntryMigrationControllerConfiguration Clock clock.Clock SeedName string }
Reconciler reconciles the BackupEntry by forcing the backup entry's restoration to this seed during control plane migration if the preparation for migration in the source seed is not finished after a certain grace period and is considered unlikely to succeed ("bad case" scenario).
func (*Reconciler) AddToManager ¶
AddToManager adds Reconciler to the given manager.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (result reconcile.Result, err error)
Reconcile reconciles the BackupEntry by forcing the backup entry's restoration to this seed during control plane migration if the preparation for migration in the source seed is not finished after a certain grace period and is considered unlikely to succeed ("bad case" scenario).