Пример #1
0
 public DeploymentQueueService(
     IApplicationService applicationService,
     IDeploymentService deploymentService,
     IDeploymentNotificationService deploymentNotificationService,
     IEntityRepository <DeploymentQueue> deploymentQueueRepository
     )
 {
     _applicationService            = applicationService;
     _deploymentService             = deploymentService;
     _deploymentNotificationService = deploymentNotificationService;
     _deploymentQueueRepository     = deploymentQueueRepository;
 }
Пример #2
0
 public DeploymentService(
     ILogger <DeploymentService> log,
     IApplicationService applicationService,
     IApplicationImageInstanceService applicationImageInstanceService,
     IDeploymentNotificationService deploymentNotificationService,
     ShipbotDbContext deploymentsDbContextConfigurator
     )
 {
     _log = log;
     _applicationService = applicationService;
     _applicationImageInstanceService  = applicationImageInstanceService;
     _deploymentNotificationService    = deploymentNotificationService;
     _deploymentsDbContextConfigurator = deploymentsDbContextConfigurator;
 }
Пример #3
0
        // private readonly IKubernetes _kubernetes;

        public DiagnosticsController(
            ILogger <DiagnosticsController> log,
            IDeploymentService deploymentService,
            IDeploymentNotificationService deploymentNotificationService,
            ISlackClient slackClient,
            IContainerImageMetadataService containerImageMetadataService,
            IGitHubClient gitHubClient
            )
        {
            _log = log;
            _deploymentService             = deploymentService;
            _deploymentNotificationService = deploymentNotificationService;
            _slackClient = slackClient;
            _containerImageMetadataService = containerImageMetadataService;
            _gitHubClient = gitHubClient;
        }