Interface SharedIndexInformerFactory
public interface SharedIndexInformerFactory
Informer factory interface.
-
Method Summary
Modifier and TypeMethodDescription<ApiType extends KubernetesObject>
@Nullable SharedIndexInformer<ApiType>getExistingSharedIndexInformer
(@NonNull Class<ApiType> apiTypeClass, @Nullable String namespace) Returns already createdSharedIndexInformer
.<ApiType extends KubernetesObject>
@NonNull SharedIndexInformer<ApiType>sharedIndexInformerFor
(@NonNull Class<ApiType> apiTypeClass, @Nullable String namespace) Creates a newSharedIndexInformer
.<ApiType extends KubernetesObject>
@NonNull SharedIndexInformer<ApiType>sharedIndexInformerFor
(@NonNull Class<ApiType> apiTypeClass, @Nullable String namespace, @Nullable String labelSelector) Creates a newSharedIndexInformer
.<ApiType extends KubernetesObject>
@NonNull SharedIndexInformer<ApiType>sharedIndexInformerFor
(@NonNull Class<ApiType> apiTypeClass, @Nullable String namespace, @Nullable String labelSelector, long resyncPeriodMillis) Creates a newSharedIndexInformer
.<ApiType extends KubernetesObject>
@NonNull SharedIndexInformer<ApiType>sharedIndexInformerFor
(@NonNull Class<ApiType> apiTypeClass, @Nullable String namespace, @Nullable String labelSelector, long resyncPeriodMillis, @Nullable Function<ApiType, String> cacheKeyFunction, @Nullable Map<String, Function<ApiType, List<String>>> cacheIndexFunctions) Creates a newSharedIndexInformer
.<ApiType extends KubernetesObject>
@NonNull List<SharedIndexInformer<ApiType>>sharedIndexInformersFor
(@NonNull Class<ApiType> apiTypeClass, @NonNull List<String> namespaces, @Nullable String labelSelector, long resyncPeriodMillis) Creates a newSharedIndexInformer
for each namespace.void
Starts all registered informers.void
Stops all registered informers.
-
Method Details
-
startAllRegisteredInformers
void startAllRegisteredInformers()Starts all registered informers. -
stopAllRegisteredInformers
void stopAllRegisteredInformers()Stops all registered informers.