Class KubernetesClientLabelBasedServicesListSupplier

java.lang.Object
org.springframework.cloud.kubernetes.commons.loadbalancer.KubernetesServicesListSupplier<io.kubernetes.client.openapi.models.V1Service>
org.springframework.cloud.kubernetes.client.loadbalancer.KubernetesClientLabelBasedServicesListSupplier
All Implemented Interfaces:
Supplier<reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>>, org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier

public class KubernetesClientLabelBasedServicesListSupplier extends org.springframework.cloud.kubernetes.commons.loadbalancer.KubernetesServicesListSupplier<io.kubernetes.client.openapi.models.V1Service>
Implementation of ServiceInstanceListSupplier for load balancer in SERVICE mode based on labels filtering.
Author:
wind57
  • Field Summary

    Fields inherited from class org.springframework.cloud.kubernetes.commons.loadbalancer.KubernetesServicesListSupplier

    discoveryProperties, environment, mapper
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>
    get()
     

    Methods inherited from class org.springframework.cloud.kubernetes.commons.loadbalancer.KubernetesServicesListSupplier

    getServiceId

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier

    get
  • Method Details

    • get

      public reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>> get()
      Specified by:
      get in interface Supplier<reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>>
      Specified by:
      get in class org.springframework.cloud.kubernetes.commons.loadbalancer.KubernetesServicesListSupplier<io.kubernetes.client.openapi.models.V1Service>