Class ControllerFactory

java.lang.Object
io.micronaut.kubernetes.client.operator.ControllerFactory

@Requires(beans=io.kubernetes.client.informer.SharedInformerFactory.class) @Singleton @Internal public class ControllerFactory extends Object
Bean creates the controllers based on the ControllerConfiguration and registers them as singletons into the bean context.
Since:
3.3
Author:
Pavol Gressa
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • createControllers

      @NonNull public void createControllers(@NonNull @NonNull ResourceReconciler<?> reconciler, @NonNull @NonNull ControllerConfiguration controllerConfiguration)
      Create the controllers.
      Parameters:
      reconciler - the resource reconciler
      controllerConfiguration - the controller configuration