Class WebPageDependentsWorkflowReconciler

java.lang.Object
io.javaoperatorsdk.operator.sample.WebPageDependentsWorkflowReconciler
All Implemented Interfaces:
io.javaoperatorsdk.operator.api.reconciler.Reconciler<WebPage>

public class WebPageDependentsWorkflowReconciler extends Object implements io.javaoperatorsdk.operator.api.reconciler.Reconciler<WebPage>
Shows how to implement reconciler using standalone dependent resources.
  • Field Details

  • Constructor Details

    • WebPageDependentsWorkflowReconciler

      public WebPageDependentsWorkflowReconciler(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
  • Method Details

    • prepareEventSources

      public List<io.javaoperatorsdk.operator.processing.event.source.EventSource<?,WebPage>> prepareEventSources(io.javaoperatorsdk.operator.api.reconciler.EventSourceContext<WebPage> context)
      Specified by:
      prepareEventSources in interface io.javaoperatorsdk.operator.api.reconciler.Reconciler<WebPage>
    • reconcile

      public io.javaoperatorsdk.operator.api.reconciler.UpdateControl<WebPage> reconcile(WebPage webPage, io.javaoperatorsdk.operator.api.reconciler.Context<WebPage> context) throws Exception
      Specified by:
      reconcile in interface io.javaoperatorsdk.operator.api.reconciler.Reconciler<WebPage>
      Throws:
      Exception
    • updateErrorStatus

      public io.javaoperatorsdk.operator.api.reconciler.ErrorStatusUpdateControl<WebPage> updateErrorStatus(WebPage resource, io.javaoperatorsdk.operator.api.reconciler.Context<WebPage> retryInfo, Exception e)
      Specified by:
      updateErrorStatus in interface io.javaoperatorsdk.operator.api.reconciler.Reconciler<WebPage>