* resolve issue with exit code not bubbling up and inflight tasks swallowing exceptions * update changelog * refacter to reduce and centralize inline program exception flow complexity * quick comments on new pulumi function return type
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
// Copyright 2016-2020, Pulumi Corporation
|
|
|
|
using System.Collections.Generic;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Pulumi
|
|
{
|
|
internal class InlineDeploymentSettings
|
|
{
|
|
public ILogger? Logger { get; }
|
|
|
|
public string EngineAddr { get; }
|
|
|
|
public string MonitorAddr { get; }
|
|
|
|
public IDictionary<string, string> Config { get; }
|
|
|
|
public IEnumerable<string>? ConfigSecretKeys { get; }
|
|
|
|
public string Project { get; }
|
|
|
|
public string Stack { get; }
|
|
|
|
public int Parallel { get; }
|
|
|
|
public bool IsDryRun { get; }
|
|
|
|
public InlineDeploymentSettings(
|
|
ILogger? logger,
|
|
string engineAddr,
|
|
string monitorAddr,
|
|
IDictionary<string, string> config,
|
|
IEnumerable<string>? configSecretKeys,
|
|
string project,
|
|
string stack,
|
|
int parallel,
|
|
bool isDryRun)
|
|
{
|
|
Logger = logger;
|
|
EngineAddr = engineAddr;
|
|
MonitorAddr = monitorAddr;
|
|
Config = config;
|
|
ConfigSecretKeys = configSecretKeys;
|
|
Project = project;
|
|
Stack = stack;
|
|
Parallel = parallel;
|
|
IsDryRun = isDryRun;
|
|
}
|
|
}
|
|
}
|