Class DefaultInformerLabelSelectorResolver
java.lang.Object
io.micronaut.kubernetes.client.informer.resolvers.DefaultInformerLabelSelectorResolver
- All Implemented Interfaces:
InformerLabelSelectorResolver
@Singleton
public class DefaultInformerLabelSelectorResolver
extends Object
implements InformerLabelSelectorResolver
The default implementation of
InformerLabelSelectorResolver
.- Since:
- 3.3
- Author:
- Pavol Gressa
-
Constructor Summary
ConstructorDescriptionDefaultInformerLabelSelectorResolver
(@NonNull io.micronaut.context.BeanContext beanContext) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
resolveInformerLabels
(@NonNull io.micronaut.core.annotation.AnnotationValue<Informer> informer) Resolves the informer's watched resources label selector.
-
Constructor Details
-
DefaultInformerLabelSelectorResolver
public DefaultInformerLabelSelectorResolver(@NonNull @NonNull io.micronaut.context.BeanContext beanContext)
-
-
Method Details
-
resolveInformerLabels
@Nullable public @Nullable String resolveInformerLabels(@NonNull @NonNull io.micronaut.core.annotation.AnnotationValue<Informer> informer) Description copied from interface:InformerLabelSelectorResolver
Resolves the informer's watched resources label selector.- Specified by:
resolveInformerLabels
in interfaceInformerLabelSelectorResolver
- Parameters:
informer
- the informer- Returns:
- resource label selector or null
-