Exemple #1
0
 public KubernetesPodSelector(ILogger <KubernetesPodSelector> logger, IConfiguration configuration,
                              IProximityTable proximityTable,
                              IWorkTracker workTracker)
 {
     _logger         = logger;
     _configuration  = configuration;
     _proximityTable = proximityTable;
     _workTracker    = workTracker;
     _maxLoad        = Convert.ToInt32(_configuration["MaxLoad"]);
 }
 public OrchestratorImplementation(
     ILogger <OrchestratorImplementation> logger,
     IRequestRouter requestRouter,
     IWorkflowRegistry registry,
     IWorkTracker workTracker,
     IOrchestrationQueue orchestrationQueue,
     IConfiguration configuration)
 {
     _logger             = logger;
     _requestRouter      = requestRouter;
     _registry           = registry;
     _workTracker        = workTracker;
     _orchestrationQueue = orchestrationQueue;
     _configuration      = configuration;
 }