repo_name stringlengths 1 52 | repo_creator stringclasses 6
values | programming_language stringclasses 4
values | code stringlengths 0 9.68M | num_lines int64 1 234k |
|---|---|---|---|---|
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Security.Claims;
using Amazon.Runtime;
using Microsoft.AspNetCore.Builder;
using System.Net;
using M... | 79 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AWS.Deploy.Common;
using AWS.Deploy.Orchestration;
namespace AWS.Deploy.CLI.ServerMode
{
public class ... | 51 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.... | 102 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Amazon;
using Amazon.Elasti... | 769 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
using AWS.Deploy.CLI.ServerMode.Models;
using Microsoft.AspNetCore.Mvc;
namespace AWS.Deploy.CLI.ServerMode.Controllers
{
[Produces("appli... | 30 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.CLI.ServerMode.Models;
using AWS.Deploy.Common;
using AWS.Deploy.Common.Recipes;
using AWS.Deploy.Recipes;
u... | 160 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Swashbuckle.AspNetCore.Annotations;
namespace AWS.Deploy.CLI.ServerMode.Controllers
{
///... | 41 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
namespace AWS.Deploy.CLI.ServerMode.Hubs
{
public interface IDeploymentC... | 29 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class ApplyConfigSettingsInput
{
public Dictionary<string, string> UpdatedSettings { get; set; } = new Di... | 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class ApplyConfigSettingsOutput
{
public IDictionary<string, string> FailedConfigUpdates { get; set; } = ... | 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// A category defined in the recipe that settings will be mapped to via th... | 48 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.ServerMode.Models
{
public enum DeploymentTypes
{
CloudFormationStack,
BeanstalkEnvironment,
ElasticContainerRegistryImage
}
}
| 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class DeployToolExceptionSummary
{
public string ErrorCode { get; set; }
public string Message { get; set; }
public int? Proce... | 20 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class DisplayedResourceSummary
{
/// <summary>
/// The Physical ID that represents a CloudFormation... | 39 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public enum SystemStatus { Ready = 1, Error = 2 };
public enum DeploymentStatus { NotSta... | 14 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.Common;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class ExistingDeploymentSummary... | 85 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.CLI.ServerMode.Controllers;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// The response that will be returned by the <see cref="DeploymentController.GenerateCloudFormat... | 24 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetCompatibilityOutput
{
public IEnumerable<SystemCapabilitySummary> Capabilities { get; set; } = new... | 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// Represents a list or table of options, generally used when selecting from
/// a list of existing A... | 30 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetDeploymentDetailsOutput
{
/// <summary>
/// The CloudApplication Name
/// </summar... | 27 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetDeploymentStatusOutput
{
public Dep... | 17 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetExistingDeploymentsOutput
{
public ... | 16 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetOptionSettingsOutput
{
public IList<OptionSettingItemSummary> OptionSettings { get; set; } = new... | 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class GetRecommendationsOutput
{
public ILis... | 16 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class HealthStatusOutput
{
public SystemStatus Status { get; set; }
}
... | 15 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.CLI.ServerMode.Controllers;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// Output returned by the <see cref="RecipeController.ListAllR... | 20 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class OptionSettingItemSummary
{
/// <summary>
///... | 114 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// Represents a recipe <see cref="OptionSettingItem"/> returned through se... | 49 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class RecipeSummary
{
public string Id { get; set; }
public string Version { get; set; }
public string Name { get; set; }
... | 37 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class RecommendationSummary
{
private readonly Dictionary<Common.Recipes.D... | 60 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class SetDeploymentTargetInput
{
public string? NewDeploymentName { get; s... | 19 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class StartDeploymentSessionInput
{
public string AWSRegion { get; set; }
... | 24 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class StartDeploymentSessionOutput
{
public string SessionId { get; set; }... | 22 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.ServerMode.Models
{
public class SystemCapabilitySummary
{
public string Name { get; set; }
public string Message { get; set; }
public string? Installati... | 20 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// Represents a column for a list/grid of <see cref="TypeHintResourceSummary"/> rows
/// </summary>
public class TypeHintResourceColum... | 22 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.CLI.ServerMode.Models
{
/// <summary>
/// Represents a single type hint option, generally used when selecting from
/// a list of existing AW... | 40 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Services
{
public c... | 36 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Services
{
public interface IDeploymentSessionStateServer
{
SessionState? Get(string id);
... | 19 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Services
{
public interface IEncryptionProvider
{
byte[] Dec... | 16 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.CLI.ServerMode.Services
{
public class InMemoryDeploymentSessionStateServer : ID... | 36 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AWS.Deploy.CLI.ServerMode.Services
{
public class NoEncryptionProvider : IEncryptionProvider
{... | 16 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.CLI.ServerMode.Hubs;
using AWS.Deploy.Orchestration;
using Microsoft.AspNetCore.SignalR;
namesp... | 47 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AWS.Deploy.Common;
using AWS.Deploy.Common.Recipes;
using AWS.Deploy.Orchestration;
namespace AWS.Deploy.C... | 59 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// The <see cref="BeanstalkApplicationTypeHintResponse"/> class encapsulates
/// <see cref="OptionSett... | 33 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// The <see cref="BeanstalkApplicationTypeHintResponse"/> class encapsulates
/// <see cref="OptionSettin... | 28 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// The <see cref="ECSClusterTypeHintResponse"/> class encapsulates
/// <see cref="AWS.Deploy.Common.Recipes.OptionSettingTypeHint.ECSClust... | 35 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// <see cref="OptionSettingTypeHint.Vpc"/> type hint response
/// </... | 23 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// The <see cref="IAMRoleTypeHintResponse"/> class encapsulates
/// <see cref="OptionSettingTypeHint.IAM... | 20 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// The <see cref="VPCConnectorTypeHintResponse"/> class encapsulates
/... | 29 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.TypeHintResponses
{
/// <summary>
/// <see cref="OptionSettingTypeHint.Vpc"/> type hint response
/// </summary>
public class VpcTypeH... | 40 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
using Amazon.Runtime;
using AWS.Deploy.Common.IO;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.CLI.Utilities
{
/// <summary>
... | 42 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using Amazon.Runtime;
using AWS.Deploy.Orchestration.Utilities;
namespace AWS.Deploy.CLI.Utilities
{
public static class AWSContextCommandLineWrapperExtension
{
/// <summary>
/// AWS ... | 38 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Am... | 208 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.Common;
using AWS.Deploy.Common.IO;
namespace AWS.Deploy.CLI.Utilities
{
/// <summary>
/// Sits on ... | 58 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.Common
{
/// <summary>
/// Contains CloudFormation specific configurations
/// </summary>
p... | 89 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.Common
{
/// <summary>
/// This class represents the metadata stored with the CloudFormation template.
/// </... | 42 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.Common
{
public enum CloudApplicationResourceType
{
None,
CloudFormationStack,
BeanstalkE... | 18 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using Amazon;
using Amazon.Extensions.NETCore.Setup;
using Amazon.Runtime;
namespace AWS.Deploy.Common
{
public class DefaultAWSClientFactory : IAWSClientFactory
{
private Action<... | 33 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace AWS.Deploy.Common
{
/// <summary>
/// A container for ... | 45 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common
{
/// <summary>
/// Contains shared environment variable keys
/// </summary>
public static class EnvironmentVariableKeys
{
public const string AWS_EXECUTI... | 14 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.Common
{
public abstract class DeployToolException : Exception
{
public DeployToolErrorCode ErrorCode { get; set; }
p... | 347 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using Amazon.Extensions.NETCore.Setup;
using Amazon.Runtime;
namespace AWS.Deploy.Common
{
public interface IAWSClientFactory
{
T GetAWSClient<T>(string? awsRegion = null) where T... | 16 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common
{
public interface IUserInputOption
{
string Name { get; }
string? Description { get; }
}
}
| 12 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
namespace AWS.Deploy.Common
{
/// <summary>
/// Models metadata about a parsed .csproj or .fsproj project.
//... | 101 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using AWS.Deploy.Common.IO;
namespace AWS.Deploy.Common
{
public interface IProjectDefinitionParser
{... | 152 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using AWS.Deploy.Common.Extensions;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.Common
{
... | 129 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace AWS.Deploy.Common
{
... | 45 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common
{
public class UserInputOption : IUserInputOption
{
public UserInputOption(string value)
{
Name = value;
}
public string Name { g... | 18 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Threading.Tasks;
using Amazon.AppRunner.Model;
using Amazon.CloudFormation.Model;
using Amazon.CloudFront.Model;
using Amazon.CloudWatchEvents.Model;
using Amazon.... | 94 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.IO;
namespace AWS.Deploy.Common
{
/// <summary>
/// The container for the deployment bundle used by an application.
/// </summary>
public class DeploymentBundle
{
/// <... | 65 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes;
namespace AWS.Deploy.Common
{
/// <summary>
/// The container for the deployment bundle used by an application.
/// </summary>
... | 28 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using AWS.Deploy.Common.IO;
using Newtonsoft.Json;
namespace AWS.Deploy.Common.DeploymentManifest
{
public int... | 155 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Newtonsoft.Json;
namespace AWS.Deploy.Common.DeploymentManifest
{
/// <summary>
/// This class supports serialization and de-serialization of the deployment-manifest file.
/// </summary>
... | 22 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.Common.DeploymentManifest
{
/// <summary>
/// This class supports serialization and de-serialization of the deployment-manifest file.
/// </su... | 21 |
aws-dotnet-deploy | aws | C# |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.IO;
using System.Reflection;
namespace AWS.Deploy.Common.Extensions
{
public static class AssemblyReadEmbeddedFileExtension
{
public static string ReadEmbeddedFile(t... | 33 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using Amazon;
using Amazon.Runtime;
namespace AWS.Deploy.Common.Extensions
{
public static class AWSContextAWSClientFactoryExtension
{
/// AWS Credentials and Region information is determined... | 26 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
// SPDX-License-Identifier: Apache-2.0
using System;
using Newtonsoft.Json;
namespace AWS.Deploy.Common.Extensions
{
public static class GenericExtensions
{
public static T DeepCopy<T>(this T obj)
{
var seriali... | 46 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AWS.Deploy.Common.Utilities;
namespace AWS.Deploy.Common.IO
{
public interface IDirectoryManager
{
Dire... | 113 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AWS.Deploy.Common.Utilities;
namespace AWS.Deploy.Common.IO
{
public interface IFileManager
{
///... | 106 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// A category defined in the recipe that settings will be mapped to via the Id pr... | 41 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public enum DeploymentBundleTypes
{
DotnetPublishZipFile,
Container
}
}
| 12 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.Common.Recipes
{
public class DeploymentConfirmationType
{
public string DefaultMessage { get; set; }
... | 21 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public enum DeploymentTypes
{
CdkProject,
BeanstalkEnvironment,
ElasticContainerRegistryImage
}
}
| 13 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public class DisplayedResource
{
/// <summary>
/// The CloudFormation ID that represents a resource.
/// </summary>
public string Lo... | 25 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// The type of effects to apply.
/// </summary>
public class EffectOptions
{
/// <summary>
/// When the recipe should be ... | 22 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Threading.Tasks;
using AWS.Deploy.Common.IO;
using AWS.Deploy.Common.Recipes.Validation;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// This inte... | 97 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Threading.Tasks;
using AWS.Deploy.Common.Recipes.Validation;
namespace AWS.Deploy.Common.Recipes
{
public interface IRecipeHandler
{
/// <summary>... | 35 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.Common.Recipes.Validation;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace A... | 196 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AWS.Deploy.Common.Recipes.Validation;
using Newtonsoft.Json;
namespace AWS.Deploy.Common.Recipes
{
///... | 209 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Text;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// This enum is used to specify the type of option settings that are retrieved wh... | 31 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public enum OptionSettingTypeHint
{
BeanstalkApplication,
BeanstalkEnvironment,
InstanceType,
WindowsInstanceType,
IAMRole,
... | 45 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public enum ValidationStatus
{
Valid,
Invalid
}
public class OptionSettingValidation
{
/// <summary>
/// Determines whe... | 32 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// <para>Specifies the type of value held by the OptionSettingItem.</para>
/// <para>The following peices will also need to be updated when addin... | 25 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// Container for property dependencies
/// </summary>
public class PropertyDependency
{
public string Id { get; set; }
pu... | 32 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using AWS.Deploy.Common.Recipes.Validation;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// Used to de... | 166 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// Container for the types of rules used by the recommendation engine.
/// </summary>
public class Recomme... | 25 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// The conditions for the test used by the rule.
/// </summary>
public class RuleCondition
{
/... | 39 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// The effect to apply for the test run.
/// </summary>
public class RuleEffect
{
/// <summary>
/// The effects to run if... | 23 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
/// <summary>
/// Test for a rule
/// </summary>
public class RuleTest
{
/// <summary>
/// The type of test to run
/// </summary... | 30 |
aws-dotnet-deploy | aws | C# | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespace AWS.Deploy.Common.Recipes
{
public enum TargetPlatform
{
Linux,
Windows
}
}
| 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.