Ejemplo n.º 1
0
 public DataDeploymentRequestProcessor(ILoggerFactory loggerFactory, IDataDownloader dataDownloader, IDataDownloadRequestFactory downloadRequestFactory, IDataLinker dataLinker, IDataRepositoryManifestFetcher manifestFetcher)
 {
     this.logger                 = loggerFactory.CreateLogger <DataDeploymentRequestProcessor>();
     this.dataDownloader         = dataDownloader;
     this.downloadRequestFactory = downloadRequestFactory;
     this.dataLinker             = dataLinker;
     this.manifestFetcher        = manifestFetcher;
 }
Ejemplo n.º 2
0
 public Orchestrator(IAutoCraneConfig config, ILoggerFactory loggerFactory, IFailingPodGetter failingPodGetter, IPodEvicter podEvicter, IPodDataRequestGetter podGetter, IDataRepositoryManifestFetcher manifestFetcher, IPodAnnotationPutter podAnnotationPutter, IDataRepositoryKnownGoodAccessor knownGoodAccessor, IDataRepositoryLatestVersionAccessor upgradeAccessor, IDataRepositoryUpgradeOracleFactory upgradeOracleFactory, IClock clock, ILeaderElection leaderElection, IExpiredObjectDeleter expiredObjectDeleter)
 {
     this.config               = config;
     this.failingPodGetter     = failingPodGetter;
     this.podEvicter           = podEvicter;
     this.dataRequestGetter    = podGetter;
     this.manifestFetcher      = manifestFetcher;
     this.podAnnotationPutter  = podAnnotationPutter;
     this.knownGoodAccessor    = knownGoodAccessor;
     this.upgradeAccessor      = upgradeAccessor;
     this.upgradeOracleFactory = upgradeOracleFactory;
     this.clock                = clock;
     this.leaderElection       = leaderElection;
     this.expiredObjectDeleter = expiredObjectDeleter;
     this.logger               = loggerFactory.CreateLogger <Orchestrator>();
 }