Interface LeaderElectingControllerBuilder

All Known Implementing Classes:
DefaultLeaderElectingControllerBuilder

@DefaultImplementation(DefaultLeaderElectingControllerBuilder.class) public interface LeaderElectingControllerBuilder
The LeaderElectingController builder.
Since:
3.3
Author:
Pavol Gressa
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull io.kubernetes.client.extended.controller.LeaderElectingController
    build(@NonNull ControllerConfiguration operator, @NonNull ResourceReconciler<?> resourceReconciler, @NonNull io.kubernetes.client.extended.controller.ControllerManager controllerManager)
    Builds the LeaderElectingController.
  • Method Details

    • build

      @NonNull @NonNull io.kubernetes.client.extended.controller.LeaderElectingController build(@NonNull @NonNull ControllerConfiguration operator, @NonNull @NonNull ResourceReconciler<?> resourceReconciler, @NonNull @NonNull io.kubernetes.client.extended.controller.ControllerManager controllerManager)
      Builds the LeaderElectingController.
      Parameters:
      operator - the operator configuration
      resourceReconciler - the operator's reconciler
      controllerManager - the controller manager
      Returns:
      leader electing controller