All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.operatorsdk.it.TestReconciler Maven / Gradle / Ivy

There is a newer version: 6.9.1
Show newest version
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.MaxReconciliationInterval;
import io.javaoperatorsdk.operator.api.reconciler.Reconciler;
import io.javaoperatorsdk.operator.api.reconciler.UpdateControl;

@ControllerConfiguration(name = TestReconciler.NAME, maxReconciliationInterval = @MaxReconciliationInterval(interval = TestReconciler.INTERVAL, timeUnit = TimeUnit.SECONDS))
public class TestReconciler implements Reconciler {
    public static final String NAME = "test";
    public static final int INTERVAL = 50;

    @Override
    public UpdateControl reconcile(Test test, Context context) throws Exception {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy