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>(); }
public DataDownloadRequestFactory(ILoggerFactory loggerFactory, IOptions <PodIdentifierOptions> thisPodOptions, IPodDataRequestGetter podDataRequestGetter) { this.logger = loggerFactory.CreateLogger <DataDownloadRequestFactory>(); this.thisPodOptions = thisPodOptions; this.podDataRequestGetter = podDataRequestGetter; }