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 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

      org.reactivestreams.Publisher<String> getServiceIds(String namespace)
      Parameters:
      namespace - namespace
      Returns:
      provider service ids for given namespace
      Since:
      3.2