io.quarkiverse.operatorsdk.it.ConfiguredReconciler Maven / Gradle / Ivy
package io.quarkiverse.operatorsdk.it;
import java.util.concurrent.TimeUnit;
import io.javaoperatorsdk.operator.api.reconciler.Context;
import io.javaoperatorsdk.operator.api.reconciler.ControllerConfiguration;
import io.javaoperatorsdk.operator.api.reconciler.Reconciler;
import io.javaoperatorsdk.operator.api.reconciler.UpdateControl;
import io.javaoperatorsdk.operator.processing.event.rate.RateLimited;
import io.javaoperatorsdk.operator.processing.retry.GradualRetry;
@ControllerConfiguration(name = ConfiguredReconciler.NAME, namespaces = "foo")
@GradualRetry(maxAttempts = ConfiguredReconciler.MAX_ATTEMPTS)
@RateLimited(maxReconciliations = 1, within = 1, unit = TimeUnit.MINUTES)
public class ConfiguredReconciler implements Reconciler {
public static final String NAME = "annotation";
public static final int MAX_ATTEMPTS = 23;
@Override
public UpdateControl reconcile(ChildTestResource2 childTestResource2,
Context context) throws Exception {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy