Class IndexerCompositeFactory
java.lang.Object
io.micronaut.kubernetes.discovery.informer.IndexerCompositeFactory
Factory for
IndexerComposite
.- Since:
- 3.2
- Author:
- Pavol Gressa
-
Constructor Summary
ConstructorDescriptionIndexerCompositeFactory
(SharedIndexInformerFactory sharedIndexInformerFactory) -
Method Summary
Modifier and TypeMethodDescription<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)
-
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) - Type Parameters:
ApiType
- type of composite- Parameters:
apiType
- informer typeapiListType
- informer list typeresourcePlural
- informer pluralnamespaces
- namespaces to createSharedIndexInformer
s- Returns:
- indexer composite
-