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 TypeMethodDescription@NonNull io.kubernetes.client.extended.controller.LeaderElectingController
build
(@NonNull ControllerConfiguration operator, @NonNull ResourceReconciler<?> resourceReconciler, @NonNull io.kubernetes.client.extended.controller.ControllerManager controllerManager) Builds theLeaderElectingController
.
-
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 theLeaderElectingController
.- Parameters:
operator
- the operator configurationresourceReconciler
- the operator's reconcilercontrollerManager
- the controller manager- Returns:
- leader electing controller
-