public PodServiceReconcilingWorker(IPodServicesContainer podServicesContainer,
                                    IPodsEventStream podsEventStream,
                                    IServiceAnnotationMapper serviceAnnotationMapper,
                                    IConsulServiceClient consulClient,
                                    LegateConfiguration configuration)
 {
     _podServicesContainer    = podServicesContainer;
     _podsEventStream         = podsEventStream;
     _serviceAnnotationMapper = serviceAnnotationMapper;
     _consulClient            = consulClient;
     _configuration           = configuration;
 }
示例#2
0
 public ConsulServiceMaintenanceWorker(LegateConfiguration configuration, IConsulServiceClient client, IPodServicesContainer podServicesContainer)
 {
     _configuration        = configuration;
     _client               = client;
     _podServicesContainer = podServicesContainer;
 }