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-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class DecryptMate... | 32 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class DiscoveryFi... | 46 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class EncryptedDa... | 60 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class EncryptionM... | 84 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class GetClientIn... | 31 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class GetEncrypti... | 70 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class GetEncrypti... | 32 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public interface IAwsCry... | 46 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public interface IClient... | 15 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public interface ICrypto... | 19 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public interface IKeyrin... | 16 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
namespace AW... | 50 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public abstract class Ke... | 31 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
// ReSharper disable RedundantUsingDirective
// ReSharper disable RedundantNameQualifier
// ReSharper disable... | 59 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
// ReSharper disable RedundantUsingDirective
// ReSharper disable RedundantNameQualifier
// ReSharper disable... | 123 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
// ReSharper disable RedundantUsingDirective
// ReSharper disable RedundantNameQualifier
// ReSharper disable... | 120 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class OnDecryptIn... | 46 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class OnDecryptOu... | 32 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class OnEncryptIn... | 32 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
public class OnEncryptOu... | 32 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
using Amazon.Runtime;
... | 34 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System.Linq;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK.Core
{
internal static cla... | 2,789 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
using AWS.Enc... | 45 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 30 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 22 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 43 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 18 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
using AWS.EncryptionSDK.Core;
using AWS.Enc... | 41 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 57 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 61 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 93 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 61 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.EncryptionSDK.Core;
using AWS.EncryptionSDK;
namespace AWS.EncryptionSDK
{
publ... | 17 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System.Linq;
using AWS.EncryptionSDK.Core;
namespace AWS.EncryptionSDK
{
internal static class Ty... | 771 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using System.IO;
using System.Collections.Generic;
namespace Com.Amazonaws.Kms
{
internal... | 1,183 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Linq;
using System.Security.Cryptography;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Security;
using Wrappers_Compile;
using ibytes... | 103 |
aws-encryption-sdk-dafny | aws | C# | using Amazon.KeyManagementService;
using Wrappers_Compile;
namespace AwsKmsUtils
{
public partial class __default
{
public static _IOption<bool> RegionMatch(
Dafny.Com.Amazonaws.Kms.IKeyManagementServiceClient client,
Dafny.ISequence<char> region)
{
string reg... | 18 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Threading.Tasks;
using Amazon;
using Amazon.KeyManagementService;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util;
// ReSharper disable once RedundantUsingDirective
using AWS.... | 106 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using AWS.EncryptionSDK;
using Wrappers_Compile;
using icharseq = Dafny.ISequence<char>;
using ibyteseq = Dafny.ISequence<byte>;
using byteseq = Dafny.Sequence<byte>;
namespace ExternDigest {
... | 43 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Linq;
using System.Collections.Generic;
using ibyteseq = Dafny.ISequence<byte>;
using byteseq = Dafny.Sequence<byte>;
namespace EncryptionContext {
public partial class __default {... | 27 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using ibyteseq = Dafny.ISequence<byte>;
using byteseq = Dafny.Sequence<byte>;
namespace HMAC {
public partial class HMac {
private Org.BouncyCastle.Crypto.Macs.HMac hmac;
p... | 55 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Security.Cryptography;
using icharseq = Dafny.ISequence<char>;
using ibyteseq = Dafny.ISequence<byte>;
namespace ExternRandom {
public partial class __default {
public st... | 29 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Diagnostics;
using System.Text;
using System.IO;
using AWS.EncryptionSDK;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Crypto.Engines;
u... | 176 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Linq;
using System.Collections.Generic;
namespace Sets {
public partial class __default {
public static Dafny.ISequence<Dafny.ISequence<T>> SetToOrderedSequence<T>(Dafny.ISet... | 56 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using AWS.EncryptionSDK;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Crypto.Signers;
using Org.BouncyCa... | 175 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Numerics;
namespace TimeUtil {
public class Time {
public static ulong CurrentRelativeTime() {
var timespan = DateTime.Now - DateTime.MinValue;
ret... | 15 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Text;
using Wrappers_Compile;
using ibyteseq = Dafny.ISequence<byte>;
using byteseq = Dafny.Sequence<byte>;
using icharseq = Dafny.ISequence<char>;
using charseq = Dafny.Sequence<char... | 40 |
aws-encryption-sdk-dafny | aws | C# |
using System;
using System.IO;
using Wrappers_Compile;
using icharseq = Dafny.ISequence<char>;
using ibyteseq = Dafny.ISequence<byte>;
namespace TestUtils {
public partial class __default {
public static _IOutcome<icharseq> WriteFile(icharseq path, ibyteseq contents) {
try {
var pathString = Dafn... | 33 |
aws-encryption-sdk-dafny | 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.EncryptionSDK.Core;
// ReSharper disable once RedundantUsingDirective
using Wrappers_Compile;
using Xunit;
using Xunit.Sdk;
using static AWSEncryptionSDK... | 143 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using AWS.EncryptionSDK.Core;
using Xunit;
using Xunit.Sdk;
namespace AWSEncryptionSDKTests.NativeWrappers
{
public class TypeConversionToDafnyWrapperTest
{
[Fact]
public v... | 53 |
aws-encryption-sdk-dafny | 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.CommandLine;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using AWS.EncryptionSDK.Core;
using AWS... | 227 |
aws-encryption-sdk-dafny | 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.Linq;
using Amazon;
using Amazon.KeyManagementService;
using AWS.EncryptionSDK.Core;
using RSAEncryption;
... | 226 |
aws-encryption-sdk-dafny | aws | C# | // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace TestVectors
{
// TODO Need to use some enums for various fields, possibly subtypes to represent RSA vs AES having different params?
pub... | 198 |
aws-encryption-sdk-dafny | 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.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
namespace TestVectors
{
public sta... | 118 |
aws-encryption-sdk-dafny | 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.IO;
using System.Linq;
using Xunit;
using AWS.EncryptionSDK;
using AWS.EncryptionSDK.Core;
namespace TestVectors.Runner {... | 160 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
#if NETCOREAPP3_1_OR_GREATER
using System.Runtime.InteropServices;
#endif
namespace Amazon.Common.DotNetCli.Tools
{
public abstract class AbstractCLIWrapper
{
protected string _workingDirec... | 127 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using Amazon.Runtime;
namespace Amazon.Common.DotNetCli.Tools
{
/// <summary>
/// Handle the callback from AWSCredentials when an MFA token code is required.
/// </summary>
internal class AssumeRoleMfaTokenCodeCallback
{
... | 30 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools
{
public static class Constants
{
public const string DEFAULT_DOCKERFILE = "Dockerfile";
public const int MAX_ECR_REPOSITORY_NAME_LENGTH... | 137 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using ThirdParty.Json.LitJson;
namespace Amazon.Common.DotNetCli.Tools
{
public abstract class DefaultConfigFile
{
JsonData _rootData;
public DefaultConfigFile()
... | 170 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Amazon.Common.DotNetCli.Tools
{
public class DockerCLIWrapper : AbstractCLIWrapper
{
public static read... | 234 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Amazon.Common.DotNetCli.Tools
{
/// <summary>
/// Wrapper around the dotnet cli used to execute the p... | 169 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using ThirdParty.Json.LitJson;
namespace Amazon.Common.DotNetCli.Tools
{
public static class ExtensionMethods
{
public static void SetIfNotNull(this JsonData data, string key, string value)
{
if (... | 49 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools
{
/// <summary>
/// The logger is used to write all status messages. When executing CLI commands they are written to the console.
/// When th... | 44 |
aws-extensions-for-dotnet-cli | aws | C# | using System.Diagnostics;
#if NETCOREAPP3_1_OR_GREATER
using System.Runtime.InteropServices;
#endif
namespace Amazon.Common.DotNetCli.Tools
{
public struct PosixUserInfo
{
public int UserID;
public int GroupID;
public bool UserIDSet;
public bool GroupIDSet;
}
/// <summa... | 95 |
aws-extensions-for-dotnet-cli | aws | C# | using System.Diagnostics;
using System.Text;
namespace Amazon.Common.DotNetCli.Tools
{
/// <summary>
/// This class represents an instance of a process being executed, set up to capture
/// STDOUT and STDERR and expose as properties. Once it's created, you can execute
/// Run multiple times.
/// <... | 133 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Auth.AccessControlPolicy;
using Amazon.IdentityManagement;
using Amazon.IdentityManagement.Model;
namespace Amazon.Common.DotNetCli.Tools
{
... | 484 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools
{
/// <summary>
/// Utility class that pulls down configuration files from an S3 bucket that the AWS Toolkit for Visual Studio uses.
/// </summa... | 50 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Runtime;
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Common.DotNetCli.Tools
{
public class ToolsException : Exception
{
public enum CommonErrorCode
{
DefaultsParseFail,
CommandLineParseError,
ProfileNot... | 81 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Runtime;
using Amazon.S3;
using Amazon.S3.Model;
using Amazon.S3.Transfer;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using Sy... | 925 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using Amazon.Common.DotNetCli.Tools.Commands;
using System.IO;
using System.Linq;
using Amazon.Common.DotNetCli.Tools.Options;
namespace Amazon.Common.DotNetCli.Tools.CLi
{
public class Application
{
public ... | 216 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.Runtime;
using Amazon.Runtime.CredentialManagement;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ThirdParty.Json.LitJson;
using Amazon.ECR;... | 912 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Amazon.ECR.Model;
using Amazon.ECR;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.Common.DotNetCli.Tools;
namespace Amazon.Common.DotNetCli.Tools.Comman... | 547 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace Amazon.Common.DotNetCli.Tools.Commands
{
public interface ICommandInfo
{
string Name { get; }
string Description { get; }
string Argumen... | 71 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools.Commands
{
/// <summary>
/// Interface for commands to implement.
/// </summary>
public interface ICommand
{
/// <summary>
/// If enabled the t... | 21 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
namespace Amazon.Common.DotNetCli.Tools.Options
{
public static class CommandLineParser
{
/// <summary>
/// Parse all the command line arguments.
/// </summary>
/// <param name="options"></param>
/// ... | 107 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools.Options
{
/// <summary>
/// The definitionn of an option for a command.
/// </summary>
public class CommandOption
{
/// <summary>
/// An enum for ... | 60 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools.Options
{
/// <summary>
/// Container for all the command options
/// </summary>
public class CommandOptions
{
Dictionary<CommandOption, CommandOptionVal... | 65 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.Common.DotNetCli.Tools.Options
{
/// <summary>
/// Container class for the actual value of the CommandOption
/// </summary>
public class CommandOptionValue
{
/// <summary>
... | 38 |
aws-extensions-for-dotnet-cli | aws | C# | 
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Common.DotNetCli.Tools.Options
{
public static class CommonDefinedCommandOptions
{
public static readonly CommandOption ARGUMENT_CONFIGURATION =
new CommandOption
{
Name = "Bu... | 215 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Amazon.ECS.Tools
{
public static class Constants
{
public const string TOOLNAME = "AWSECSToolsDotnet";
public static readonly string ECS_DEFAULT_SERVICE_POLICY =
@"
... | 37 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.ECS.Tools
{
/// <summary>
/// This class defines all the possible options across all the commands. The individual commands will then
/// references ... | 517 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using Amazon.ECS.Tools.Commands;
using ThirdParty.Json.LitJson;
using Amazon.Common.DotNetCli.Tools;
namespace Amazon.ECS.Tools
{
/// <summary>
/// This class gives access t... | 41 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.ECR;
using Amazon.ECR.Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Amazon.EC2.Model;
using Amazon.ECS.Model;
using Amazon.IdentityManagement.Model;
using Amazon.ECS.Tools.Commands;
usin... | 867 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Runtime;
using Amazon.Common.DotNetCli.Tools;
namespace Amazon.ECS.Tools
{
/// <summary>
/// The deploy tool exception. This is used to throw back an error to the user but is considerd a known erro... | 49 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Commands;
using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.ECS.Tools.Commands;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Amazon.Common.DotNetC... | 40 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.Common.DotNetCli.Tools.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThirdParty.Json.LitJson;
namespace Amazon.ECS.Tools.Commands
{
... | 423 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Amazon.CloudWatchEvents;
using Amazon.CloudWatchEvents.Model;
using Amazon.ECR;
using Amazon.ECR.Model;
using Amazon.ECS;
using Amazon.ECS.Model;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.Common... | 213 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Task = System.Threading.Tasks.Task;
using Amazon.ECR.Model;
using Amazon.ECS.Model;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.Com... | 297 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThirdParty.Json.LitJson;
namespace Amazon.ECS.Tools.Commands
{
public class DeployTaskCommand : ECSBaseDeplo... | 191 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon;
using Amazon.Runtime;
using Amazon.Runtime.CredentialManagement;
using Amazon.CloudWatchEvents;
using Amazon.CloudWatchLogs;
using Amazon.EC2;
using Amazon.ECR;
using Amazon.ECS;
using System.Reflection;... | 157 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Commands;
using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.ECS.Tools.Commands
{
public abstract class ECSBaseDeployCommand : ECSBaseCommand
{
publi... | 84 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Amazon.ECR.Model;
using Amazon.ECR;
using ThirdParty.Json.LitJson;
using System.IO;
using Amazon.Common.DotNetCli.Tools.Options;
using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Commands;
... | 29 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.ElasticBeanstalk.Tools
{
public static class EBConstants
{
public const string DEFAULT_MANIFEST = @"
{
""manifestVersion"": 1,
""deployments"": {
""aspNetCoreWeb"": [
{
""name"": ""app"",
... | 53 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.ElasticBeanstalk.Tools
{
public class EBDefinedCommandOptions
{
public static readonly CommandOption ARGUMENT_INPUT_PACKAGE =
new CommandOption
{
... | 210 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using Amazon.Common.DotNetCli.Tools;
using Amazon.ElasticBeanstalk.Model;
using Amazon.ElasticBeanstalk.Tools.Commands;
using ThirdParty.Json.LitJson;
namespace Amaz... | 180 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
using ThirdParty.Json.LitJson;
using Amazon.Common.DotNetCli.Tools;
namespace Amazon.ElasticBeanstalk.Tools
{
public class ElasticBeanstalkToolsDefaults : DefaultConfigFile
{
public const string DEFAULT_FILE_NAME = "aws-beanstalk-to... | 33 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.ElasticBeanstalk.Tools
{
public class ElasticBeanstalkExceptions : ToolsException
{
public enum EBCode
{
EnsureBucketExistsError,
FailedToUploadBun... | 43 |
aws-extensions-for-dotnet-cli | aws | C# | using System;
using Amazon.Common.DotNetCli.Tools.CLi;
using Amazon.Common.DotNetCli.Tools.Commands;
using System.Collections.Generic;
using Amazon.ElasticBeanstalk.Tools.Commands;
namespace Amazon.ElasticBeanstalk.Tools
{
class Program
{
static void Main(string[] args)
{
var ap... | 35 |
aws-extensions-for-dotnet-cli | aws | C# | using System.Globalization;
using System.Text;
namespace Amazon.ElasticBeanstalk.Tools
{
public class PublishOptions
{
private readonly string _initialOptions;
private readonly bool _isWindowsEnvironment;
private readonly bool _selfContained;
public PublishOptions(string ini... | 45 |
aws-extensions-for-dotnet-cli | aws | C# | using Amazon.Common.DotNetCli.Tools;
using Amazon.Common.DotNetCli.Tools.Options;
using System;
using System.Collections.Generic;
using System.Text;
using ThirdParty.Json.LitJson;
namespace Amazon.ElasticBeanstalk.Tools.Commands
{
public class DeployEnvironmentProperties
{
public string Configuratio... | 152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.