Class BuildTimeConfigurationService
java.lang.Object
io.quarkiverse.operatorsdk.runtime.BuildTimeConfigurationService
- All Implemented Interfaces:
io.javaoperatorsdk.operator.api.config.ConfigurationService
public class BuildTimeConfigurationService
extends Object
implements io.javaoperatorsdk.operator.api.config.ConfigurationService
-
Field Summary
Fields inherited from interface io.javaoperatorsdk.operator.api.config.ConfigurationService
DEFAULT_MAX_CONCURRENT_REQUEST, DEFAULT_RECONCILIATION_THREADS_NUMBER, DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER, log -
Constructor Summary
ConstructorsConstructorDescriptionBuildTimeConfigurationService(Version version, CRDGenerationInfo crdInfo, boolean startOperator, boolean closeClientOnStop, boolean stopOnInformerErrorDuringStartup, boolean enableSSA, List<String> leaderElectionActivationProfiles, boolean defensiveCloning) -
Method Summary
Modifier and TypeMethodDescriptionbooleanactivateLeaderElection(List<String> activeProfiles) <R extends io.fabric8.kubernetes.api.model.HasMetadata>
io.javaoperatorsdk.operator.api.config.ControllerConfiguration<R>getConfigurationFor(io.javaoperatorsdk.operator.api.reconciler.Reconciler<R> reconciler) booleanbooleanbooleanbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.javaoperatorsdk.operator.api.config.ConfigurationService
cacheSyncTimeout, checkCRDAndValidateLocalModel, cloneSecondaryResourcesWhenGettingFromCache, closeClientOnStop, concurrentReconciliationThreads, concurrentWorkflowExecutorThreads, defaultNonSSAResource, defaultNonSSAResources, dependentResourceFactory, getExecutorService, getExecutorServiceManager, getInformerStoppedHandler, getKubernetesClient, getLeaderElectionConfiguration, getMetrics, getResourceCloner, getWorkflowExecutorService, getWorkflowFactory, parseResourceVersionsForEventFilteringAndCaching, previousAnnotationForDependentResourcesEventFiltering, reconciliationTerminationTimeout, shouldUseSSA, shouldUseSSA, ssaBasedCreateUpdateMatchForDependentResources, stopOnInformerErrorDuringStartup, useSSAToPatchPrimaryResource
-
Constructor Details
-
BuildTimeConfigurationService
public BuildTimeConfigurationService(Version version, CRDGenerationInfo crdInfo, boolean startOperator, boolean closeClientOnStop, boolean stopOnInformerErrorDuringStartup, boolean enableSSA, List<String> leaderElectionActivationProfiles, boolean defensiveCloning)
-
-
Method Details
-
getConfigurationFor
public <R extends io.fabric8.kubernetes.api.model.HasMetadata> io.javaoperatorsdk.operator.api.config.ControllerConfiguration<R> getConfigurationFor(io.javaoperatorsdk.operator.api.reconciler.Reconciler<R> reconciler) - Specified by:
getConfigurationForin interfaceio.javaoperatorsdk.operator.api.config.ConfigurationService
-
getKnownReconcilerNames
- Specified by:
getKnownReconcilerNamesin interfaceio.javaoperatorsdk.operator.api.config.ConfigurationService
-
getVersion
- Specified by:
getVersionin interfaceio.javaoperatorsdk.operator.api.config.ConfigurationService
-
getCrdInfo
-
isStartOperator
public boolean isStartOperator() -
isCloseClientOnStop
public boolean isCloseClientOnStop() -
isStopOnInformerErrorDuringStartup
public boolean isStopOnInformerErrorDuringStartup() -
isEnableSSA
public boolean isEnableSSA() -
activateLeaderElection
-
getLeaderElectionActivationProfiles
-
isDefensiveCloning
public boolean isDefensiveCloning()
-