Class IndexerCompositeFactory

java.lang.Object
io.micronaut.kubernetes.discovery.informer.IndexerCompositeFactory

@Internal @Singleton public class IndexerCompositeFactory extends Object
Factory for IndexerComposite.
Since:
3.2
Author:
Pavol Gressa
  • Constructor Details

  • Method Details

    • createInformersFor

      public <ApiType extends io.kubernetes.client.common.KubernetesObject> IndexerComposite<ApiType> createInformersFor(Class<ApiType> apiType, Class<? extends io.kubernetes.client.common.KubernetesListObject> apiListType, String resourcePlural, Set<String> namespaces)
      Creates the IndexerComposite that is populated by generated SharedIndexInformer's Indexer.
      Type Parameters:
      ApiType - type of composite
      Parameters:
      apiType - informer type
      apiListType - informer list type
      resourcePlural - informer plural
      namespaces - namespaces to create SharedIndexInformers
      Returns:
      indexer composite