Class DefaultControllerBuilder
java.lang.Object
io.micronaut.kubernetes.client.operator.controller.DefaultControllerBuilder
- All Implemented Interfaces:
ControllerBuilder
@Singleton
@Internal
public class DefaultControllerBuilder
extends Object
implements ControllerBuilder
Default implementation of the
ControllerBuilder
.- Since:
- 3.3
- Author:
- Pavol Gressa
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultControllerBuilder
(@NonNull io.micronaut.context.BeanContext beanContext, @NonNull ControllerWatchBuilder controllerWatchBuilder, @NonNull SharedIndexInformerFactory sharedIndexInformerFactory, @NonNull OperatorConfigurationProperties operatorConfiguration) -
Method Summary
Modifier and TypeMethodDescription@NonNull io.kubernetes.client.extended.controller.DefaultController
build
(@NonNull ControllerConfiguration controllerConfiguration, @NonNull ResourceReconciler<?> resourceReconciler) Builds theDefaultController
.
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
Method Details
-
build
@NonNull public @NonNull io.kubernetes.client.extended.controller.DefaultController build(@NonNull @NonNull ControllerConfiguration controllerConfiguration, @NonNull @NonNull ResourceReconciler<?> resourceReconciler) Description copied from interface:ControllerBuilder
Builds theDefaultController
.- Specified by:
build
in interfaceControllerBuilder
- Parameters:
controllerConfiguration
- the operator configurationresourceReconciler
- the operator's resource reconciler- Returns:
- the default controller
-