Interface IngressAdapter

All Known Implementing Classes:
NginxAdapter

public interface IngressAdapter
  • Method Details

    • registerService

      void registerService(String serviceName, String workerIp, int port)
      Called by the Master when a worker successfully starts a long-running service.
    • deRegisterService

      void deRegisterService(String serviceName, String workerIp, int port)
      Called by the Master when a worker crashes or a service is scaled down.
    • applyRoutingConfig

      void applyRoutingConfig()
      Flushes the current state to the Load Balancer and triggers a hot-reload.
    • getActiveRoutes

      Map<String,List<String>> getActiveRoutes()