コード例 #1
0
 public Orchestrator(
     OrchestratorSession session,
     IOrchestratorInteractiveService interactiveService,
     ICdkProjectHandler cdkProjectHandler,
     ICDKManager cdkManager,
     ICDKVersionDetector cdkVersionDetector,
     IAWSResourceQueryer awsResourceQueryer,
     IDeploymentBundleHandler deploymentBundleHandler,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IDockerEngine dockerEngine,
     ICustomRecipeLocator customRecipeLocator,
     IList <string> recipeDefinitionPaths,
     IDirectoryManager directoryManager)
 {
     _session                 = session;
     _interactiveService      = interactiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _cdkManager              = cdkManager;
     _cdkVersionDetector      = cdkVersionDetector;
     _awsResourceQueryer      = awsResourceQueryer;
     _deploymentBundleHandler = deploymentBundleHandler;
     _dockerEngine            = dockerEngine;
     _customRecipeLocator     = customRecipeLocator;
     _recipeDefinitionPaths   = recipeDefinitionPaths;
     _localUserSettingsEngine = localUserSettingsEngine;
     _directoryManager        = directoryManager;
 }
 public DotnetBeanstalkPlatformArnCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
コード例 #3
0
 public IAMRoleCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
コード例 #4
0
 public DeployedApplicationQueryer(
     IAWSResourceQueryer awsResourceQueryer,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IOrchestratorInteractiveService orchestratorInteractiveService)
 {
     _awsResourceQueryer             = awsResourceQueryer;
     _localUserSettingsEngine        = localUserSettingsEngine;
     _orchestratorInteractiveService = orchestratorInteractiveService;
 }
コード例 #5
0
 public DisplayedResourceCommandFactory(IAWSResourceQueryer awsResourceQueryer)
 {
     _resources = new Dictionary <string, IDisplayedResourceCommand>
     {
         { RESOURCE_TYPE_APPRUNNER_SERVICE, new AppRunnerServiceResource(awsResourceQueryer) },
         { RESOURCE_TYPE_ELASTICBEANSTALK_ENVIRONMENT, new ElasticBeanstalkEnvironmentResource(awsResourceQueryer) },
         { RESOURCE_TYPE_ELASTICLOADBALANCINGV2_LOADBALANCER, new ElasticLoadBalancerResource(awsResourceQueryer) },
         { RESOURCE_TYPE_S3_BUCKET, new S3BucketResource(awsResourceQueryer) },
         { RESOURCE_TYPE_CLOUDFRONT_DISTRIBUTION, new CloudFrontDistributionResource(awsResourceQueryer) },
         { RESOURCE_TYPE_EVENTS_RULE, new CloudWatchEventResource(awsResourceQueryer) }
     };
 }
コード例 #6
0
 public DeploymentBundleHandler(
     ICommandLineWrapper commandLineWrapper,
     IAWSResourceQueryer awsResourceQueryer,
     IOrchestratorInteractiveService interactiveService,
     IDirectoryManager directoryManager,
     IZipFileManager zipFileManager)
 {
     _commandLineWrapper = commandLineWrapper;
     _awsResourceQueryer = awsResourceQueryer;
     _interactiveService = interactiveService;
     _directoryManager   = directoryManager;
     _zipFileManager     = zipFileManager;
 }
コード例 #7
0
 public ListDeploymentsCommand(IToolInteractiveService interactiveService,
                               IOrchestratorInteractiveService orchestratorInteractiveService,
                               ICdkProjectHandler cdkProjectHandler,
                               IDeploymentBundleHandler deploymentBundleHandler,
                               IAWSResourceQueryer awsResourceQueryer,
                               OrchestratorSession session)
 {
     _interactiveService             = interactiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _awsResourceQueryer      = awsResourceQueryer;
     _session = session;
 }
コード例 #8
0
 public Orchestrator(
     OrchestratorSession session,
     IOrchestratorInteractiveService interactiveService,
     ICdkProjectHandler cdkProjectHandler,
     IAWSResourceQueryer awsResourceQueryer,
     IDeploymentBundleHandler deploymentBundleHandler,
     IList <string> recipeDefinitionPaths)
 {
     _session                 = session;
     _interactiveService      = interactiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _recipeDefinitionPaths   = recipeDefinitionPaths;
     _awsResourceQueryer      = awsResourceQueryer;
     _awsClientFactory        = new DefaultAWSClientFactory();
 }
コード例 #9
0
 public DeployCommand(
     IToolInteractiveService toolInteractiveService,
     IOrchestratorInteractiveService orchestratorInteractiveService,
     ICdkProjectHandler cdkProjectHandler,
     IDeploymentBundleHandler deploymentBundleHandler,
     IAWSResourceQueryer awsResourceQueryer,
     OrchestratorSession session)
 {
     _toolInteractiveService         = toolInteractiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler       = cdkProjectHandler;
     _deploymentBundleHandler = deploymentBundleHandler;
     _awsResourceQueryer      = awsResourceQueryer;
     _consoleUtilities        = new ConsoleUtilities(toolInteractiveService);
     _session = session;
     _typeHintCommandFactory = new TypeHintCommandFactory(_toolInteractiveService, _awsResourceQueryer, _session, _consoleUtilities);
 }
コード例 #10
0
 public DeployCommand(
     IToolInteractiveService toolInteractiveService,
     IOrchestratorInteractiveService orchestratorInteractiveService,
     ICdkProjectHandler cdkProjectHandler,
     ICDKManager cdkManager,
     ICDKVersionDetector cdkVersionDetector,
     IDeploymentBundleHandler deploymentBundleHandler,
     IDockerEngine dockerEngine,
     IAWSResourceQueryer awsResourceQueryer,
     ITemplateMetadataReader templateMetadataReader,
     IDeployedApplicationQueryer deployedApplicationQueryer,
     ITypeHintCommandFactory typeHintCommandFactory,
     IDisplayedResourcesHandler displayedResourcesHandler,
     ICloudApplicationNameGenerator cloudApplicationNameGenerator,
     ILocalUserSettingsEngine localUserSettingsEngine,
     IConsoleUtilities consoleUtilities,
     ICustomRecipeLocator customRecipeLocator,
     ISystemCapabilityEvaluator systemCapabilityEvaluator,
     OrchestratorSession session,
     IDirectoryManager directoryManager)
 {
     _toolInteractiveService         = toolInteractiveService;
     _orchestratorInteractiveService = orchestratorInteractiveService;
     _cdkProjectHandler             = cdkProjectHandler;
     _deploymentBundleHandler       = deploymentBundleHandler;
     _dockerEngine                  = dockerEngine;
     _awsResourceQueryer            = awsResourceQueryer;
     _templateMetadataReader        = templateMetadataReader;
     _deployedApplicationQueryer    = deployedApplicationQueryer;
     _typeHintCommandFactory        = typeHintCommandFactory;
     _displayedResourcesHandler     = displayedResourcesHandler;
     _cloudApplicationNameGenerator = cloudApplicationNameGenerator;
     _localUserSettingsEngine       = localUserSettingsEngine;
     _consoleUtilities              = consoleUtilities;
     _session                   = session;
     _directoryManager          = directoryManager;
     _cdkVersionDetector        = cdkVersionDetector;
     _cdkManager                = cdkManager;
     _customRecipeLocator       = customRecipeLocator;
     _systemCapabilityEvaluator = systemCapabilityEvaluator;
 }
コード例 #11
0
 public ElasticLoadBalancerResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #12
0
 public CloudWatchEventResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #13
0
 public BeanstalkApplicationCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #14
0
 public DisplayedResourcesHandler(IAWSResourceQueryer awsResourceQueryer, IDisplayedResourceCommandFactory displayedResourcesFactory)
 {
     _awsResourceQueryer        = awsResourceQueryer;
     _displayedResourcesFactory = displayedResourcesFactory;
 }
コード例 #15
0
 public ECSClusterCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #16
0
 public CloudFrontDistributionResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #17
0
 public TypeHintCommandFactory(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities, IDirectoryManager directoryManager)
 {
     _commands = new Dictionary <OptionSettingTypeHint, ITypeHintCommand>
     {
         { OptionSettingTypeHint.BeanstalkApplication, new BeanstalkApplicationCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.BeanstalkEnvironment, new BeanstalkEnvironmentCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.DotnetBeanstalkPlatformArn, new DotnetBeanstalkPlatformArnCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.EC2KeyPair, new EC2KeyPairCommand(toolInteractiveService, awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.IAMRole, new IAMRoleCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.Vpc, new VpcCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishAdditionalBuildArguments, new DotnetPublishArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishSelfContainedBuild, new DotnetPublishSelfContainedBuildCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishBuildConfiguration, new DotnetPublishBuildConfigurationCommand(consoleUtilities) },
         { OptionSettingTypeHint.DockerExecutionDirectory, new DockerExecutionDirectoryCommand(consoleUtilities, directoryManager) },
         { OptionSettingTypeHint.DockerBuildArgs, new DockerBuildArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.ECSCluster, new ECSClusterCommand(awsResourceQueryer, consoleUtilities) },
         { OptionSettingTypeHint.ExistingApplicationLoadBalancer, new ExistingApplicationLoadBalancerCommand(awsResourceQueryer, consoleUtilities) },
     };
 }
コード例 #18
0
 public DotnetBeanstalkPlatformArnCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #19
0
 public IAMRoleCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #20
0
 public EC2KeyPairCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _consoleUtilities       = consoleUtilities;
 }
コード例 #21
0
 public ElasticBeanstalkEnvironmentResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #22
0
 public S3BucketResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #23
0
 public AppRunnerServiceResource(IAWSResourceQueryer awsResourceQueryer)
 {
     _awsResourceQueryer = awsResourceQueryer;
 }
コード例 #24
0
 public ECSClusterCommand(IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _session            = session;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #25
0
 public BeanstalkEnvironmentCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }
コード例 #26
0
 public ExistingApplicationLoadBalancerCommand(IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _awsResourceQueryer = awsResourceQueryer;
     _consoleUtilities   = consoleUtilities;
 }