public ListDeploymentsCommand(
     IToolInteractiveService interactiveService,
     IDeployedApplicationQueryer deployedApplicationQueryer)
 {
     _interactiveService         = interactiveService;
     _deployedApplicationQueryer = deployedApplicationQueryer;
 }
 public ServerModeCommand(IToolInteractiveService interactiveService, int port, int?parentPid, bool noEncryptionKeyInfo)
 {
     _interactiveService = interactiveService;
     _port                = port;
     _parentPid           = parentPid;
     _noEncryptionKeyInfo = noEncryptionKeyInfo;
 }
 public DotnetBeanstalkPlatformArnCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
Beispiel #4
0
 public IAMRoleCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _session          = session;
     _consoleUtilities = consoleUtilities;
 }
Beispiel #5
0
 public DeleteDeploymentCommand(IAWSClientFactory awsClientFactory, IToolInteractiveService interactiveService, OrchestratorSession session)
 {
     _awsClientFactory     = awsClientFactory;
     _interactiveService   = interactiveService;
     _session              = session;
     _cloudFormationClient = _awsClientFactory.GetAWSClient <IAmazonCloudFormation>(_session.AWSCredentials, _session.AWSRegion);
     _consoleUtilities     = new ConsoleUtilities(interactiveService);
 }
Beispiel #6
0
 public ProjectParserUtility(
     IToolInteractiveService toolInteractiveService,
     IProjectDefinitionParser projectDefinitionParser,
     IDirectoryManager directoryManager)
 {
     _toolInteractiveService  = toolInteractiveService;
     _projectDefinitionParser = projectDefinitionParser;
     _directoryManager        = directoryManager;
 }
Beispiel #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;
 }
 public DeleteDeploymentCommand(
     IAWSClientFactory awsClientFactory,
     IToolInteractiveService interactiveService,
     IConsoleUtilities consoleUtilities,
     ILocalUserSettingsEngine localUserSettingsEngine,
     OrchestratorSession?session)
 {
     _awsClientFactory        = awsClientFactory;
     _interactiveService      = interactiveService;
     _consoleUtilities        = consoleUtilities;
     _cloudFormationClient    = _awsClientFactory.GetAWSClient <IAmazonCloudFormation>();
     _localUserSettingsEngine = localUserSettingsEngine;
     _session = session;
 }
 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);
 }
 public TypeHintCommandFactory(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, OrchestratorSession session, ConsoleUtilities consoleUtilities)
 {
     _commands = new Dictionary <OptionSettingTypeHint, ITypeHintCommand>()
     {
         { OptionSettingTypeHint.BeanstalkApplication, new BeanstalkApplicationCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.BeanstalkEnvironment, new BeanstalkEnvironmentCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.DotnetBeanstalkPlatformArn, new DotnetBeanstalkPlatformArnCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.EC2KeyPair, new EC2KeyPairCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.IAMRole, new IAMRoleCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.Vpc, new VpcCommand(toolInteractiveService, awsResourceQueryer, session, consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishAdditionalBuildArguments, new DotnetPublishArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishSelfContainedBuild, new DotnetPublishSelfContainedBuildCommand(consoleUtilities) },
         { OptionSettingTypeHint.DotnetPublishBuildConfiguration, new DotnetPublishBuildConfigurationCommand(consoleUtilities) },
         { OptionSettingTypeHint.DockerExecutionDirectory, new DockerExecutionDirectoryCommand(consoleUtilities) },
         { OptionSettingTypeHint.DockerBuildArgs, new DockerBuildArgsCommand(consoleUtilities) },
         { OptionSettingTypeHint.ECSCluster, new ECSClusterCommand(awsResourceQueryer, session, consoleUtilities) },
     };
 }
Beispiel #11
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;
 }
Beispiel #12
0
 public GenerateDeploymentProjectCommand(
     IToolInteractiveService toolInteractiveService,
     IConsoleUtilities consoleUtilities,
     ICdkProjectHandler cdkProjectHandler,
     ICommandLineWrapper commandLineWrapper,
     IDirectoryManager directoryManager,
     IFileManager fileManager,
     OrchestratorSession session,
     IDeploymentManifestEngine deploymentManifestEngine,
     string targetApplicationFullPath)
 {
     _toolInteractiveService = toolInteractiveService;
     _consoleUtilities       = consoleUtilities;
     _cdkProjectHandler      = cdkProjectHandler;
     _commandLineWrapper     = commandLineWrapper;
     _directoryManager       = directoryManager;
     _fileManager            = fileManager;
     _session = session;
     _deploymentManifestEngine  = deploymentManifestEngine;
     _targetApplicationFullPath = targetApplicationFullPath;
 }
Beispiel #13
0
 public AWSUtilities(IToolInteractiveService toolInteractiveService, IConsoleUtilities consoleUtilities, IDirectoryManager directoryManager)
 {
     _toolInteractiveService = toolInteractiveService;
     _consoleUtilities       = consoleUtilities;
     _directoryManager       = directoryManager;
 }
Beispiel #14
0
 internal AssumeRoleMfaTokenCodeCallback(IToolInteractiveService toolInteractiveService, IDirectoryManager directoryManager, AssumeRoleAWSCredentialsOptions options)
 {
     _toolInteractiveService = toolInteractiveService;
     _options          = options;
     _directoryManager = directoryManager;
 }
Beispiel #15
0
        public StackEventMonitor(string stackName, IAWSClientFactory awsClientFactory, IToolInteractiveService interactiveService, OrchestratorSession session)
        {
            _stackName = stackName;

            _cloudFormationClient = awsClientFactory.GetAWSClient <IAmazonCloudFormation>(session.AWSCredentials, session.AWSRegion);
            _consoleUtilities     = new ConsoleUtilities(interactiveService);
        }
Beispiel #16
0
 public App(ICommandFactory commandFactory, IToolInteractiveService toolInteractiveService)
 {
     _commandFactory         = commandFactory;
     _toolInteractiveService = toolInteractiveService;
 }
 public static void WriteLine(this IToolInteractiveService service)
 {
     service.WriteLine(string.Empty);
 }
Beispiel #18
0
 public EC2KeyPairCommand(IToolInteractiveService toolInteractiveService, IAWSResourceQueryer awsResourceQueryer, IConsoleUtilities consoleUtilities)
 {
     _toolInteractiveService = toolInteractiveService;
     _awsResourceQueryer     = awsResourceQueryer;
     _consoleUtilities       = consoleUtilities;
 }
Beispiel #19
0
 public AWSUtilities(IToolInteractiveService toolInteractiveService)
 {
     _toolInteractiveService = toolInteractiveService;
 }
Beispiel #20
0
 public ConsoleUtilities(IToolInteractiveService interactiveService)
 {
     _interactiveService = interactiveService;
 }
Beispiel #21
0
 public ConsoleOrchestratorLogger(IToolInteractiveService interactiveService)
 {
     _interactiveService = interactiveService;
 }