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

    Constructors
    Constructor
    Description
    BuildTimeConfigurationService(Version version, CRDGenerationInfo crdInfo, boolean startOperator, boolean closeClientOnStop, boolean stopOnInformerErrorDuringStartup, boolean enableSSA, List<String> leaderElectionActivationProfiles, boolean defensiveCloning)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    <R extends io.fabric8.kubernetes.api.model.HasMetadata>
    io.javaoperatorsdk.operator.api.config.ControllerConfiguration<R>
    getConfigurationFor(io.javaoperatorsdk.operator.api.reconciler.Reconciler<R> reconciler)
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getConfigurationFor in interface io.javaoperatorsdk.operator.api.config.ConfigurationService
    • getKnownReconcilerNames

      public Set<String> getKnownReconcilerNames()
      Specified by:
      getKnownReconcilerNames in interface io.javaoperatorsdk.operator.api.config.ConfigurationService
    • getVersion

      public Version getVersion()
      Specified by:
      getVersion in interface io.javaoperatorsdk.operator.api.config.ConfigurationService
    • getCrdInfo

      public CRDGenerationInfo getCrdInfo()
    • isStartOperator

      public boolean isStartOperator()
    • isCloseClientOnStop

      public boolean isCloseClientOnStop()
    • isStopOnInformerErrorDuringStartup

      public boolean isStopOnInformerErrorDuringStartup()
    • isEnableSSA

      public boolean isEnableSSA()
    • activateLeaderElection

      public boolean activateLeaderElection(List<String> activeProfiles)
    • getLeaderElectionActivationProfiles

      public List<String> getLeaderElectionActivationProfiles()
    • isDefensiveCloning

      public boolean isDefensiveCloning()