Interface KubernetesServiceInstanceProvider
- All Known Implementing Classes:
AbstractKubernetesServiceInstanceProvider
,AbstractV1EndpointsProvider
,AbstractV1ServiceProvider
,KubernetesServiceInstanceEndpointInformerProvider
,KubernetesServiceInstanceEndpointProvider
,KubernetesServiceInstanceServiceInformerProvider
,KubernetesServiceInstanceServiceProvider
public interface KubernetesServiceInstanceProvider
Kubernetes service instance provider.
- Since:
- 2.3
- Author:
- Pavol Gressa
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<List<io.micronaut.discovery.ServiceInstance>>
getInstances
(KubernetesServiceConfiguration serviceConfiguration) getMode()
org.reactivestreams.Publisher<String>
getServiceIds
(String namespace)
-
Method Details
-
getMode
String getMode()- Returns:
- the provider mode name.
-
getInstances
org.reactivestreams.Publisher<List<io.micronaut.discovery.ServiceInstance>> getInstances(KubernetesServiceConfiguration serviceConfiguration) - Parameters:
serviceConfiguration
- service discovery configuration- Returns:
- discovered service instances
-
getServiceIds
- Parameters:
namespace
- namespace- Returns:
- provider service ids for given namespace
- Since:
- 3.2
-