Interface SharedIndexInformerFactory
- All Known Implementing Classes:
DefaultSharedIndexInformerFactory
public interface SharedIndexInformerFactory
Informer factory interface.
- Since:
- 3.1
- Author:
- Pavol Gressa
-
Method Summary
Modifier and TypeMethodDescription<ApiType extends io.kubernetes.client.common.KubernetesObject>
io.kubernetes.client.informer.SharedIndexInformer<ApiType>getExistingSharedIndexInformer
(String namespace, Class<ApiType> apiTypeClass) Get existingSharedIndexInformer
.List<io.kubernetes.client.informer.SharedIndexInformer>
Get all existingSharedIndexInformer
.<ApiType extends io.kubernetes.client.common.KubernetesObject,
ApiListType extends io.kubernetes.client.common.KubernetesListObject>
io.kubernetes.client.informer.SharedIndexInformer<ApiType>sharedIndexInformerFor
(Class<ApiType> apiTypeClass, Class<ApiListType> apiListTypeClass, String apiGroup, String resourcePlural, @Nullable String namespace, @Nullable String labelSelector, @Nullable Long resyncCheckPeriod, boolean waitForSync) Creates newSharedIndexInformer
.<ApiType extends io.kubernetes.client.common.KubernetesObject,
ApiListType extends io.kubernetes.client.common.KubernetesListObject>
List<io.kubernetes.client.informer.SharedIndexInformer<? extends io.kubernetes.client.common.KubernetesObject>>sharedIndexInformersFor
(Class<ApiType> apiTypeClass, Class<ApiListType> apiListTypeClass, String resourcePlural, String apiGroup, @Nullable List<String> namespaces, @Nullable String labelSelector, @Nullable Long resyncCheckPeriod, boolean waitForSync) Creates newSharedIndexInformer
s for every namespace fromnamespaces
param.void
Start all registered informers.void
Stop all registered informers.
-
Method Details
-
startAllRegisteredInformers
void startAllRegisteredInformers()Start all registered informers. -
stopAllRegisteredInformers
void stopAllRegisteredInformers()Stop all registered informers.