Class InstanceProviderInformerNamespaceResolver
java.lang.Object
io.micronaut.kubernetes.discovery.informer.InstanceProviderInformerNamespaceResolver
Resolver for the namespaces to watch by
KubernetesServiceInstanceProvider
.- Since:
- 3.2
- Author:
- Pavol Gressa
-
Constructor Summary
ConstructorDescriptionInstanceProviderInformerNamespaceResolver
(KubernetesConfiguration kubernetesConfiguration, KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration, List<KubernetesServiceConfiguration> serviceConfigurations) -
Method Summary
Modifier and TypeMethodDescriptionresolveInformerNamespaces
(KubernetesServiceInstanceProvider kubernetesServiceInstanceProvider) Resolves the namespaces to watch.
-
Constructor Details
-
InstanceProviderInformerNamespaceResolver
public InstanceProviderInformerNamespaceResolver(KubernetesConfiguration kubernetesConfiguration, KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration, List<KubernetesServiceConfiguration> serviceConfigurations)
-
-
Method Details
-
resolveInformerNamespaces
public Set<String> resolveInformerNamespaces(KubernetesServiceInstanceProvider kubernetesServiceInstanceProvider) Resolves the namespaces to watch.- Parameters:
kubernetesServiceInstanceProvider
- service instance provider- Returns:
- set of namespaces
-