diff --git a/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Bitwarden.SecretManager.cs b/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Bitwarden.SecretManager.cs new file mode 100644 index 000000000..0edb73fb0 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Bitwarden.SecretManager.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace CommunityToolkit.Aspire.Bitwarden.SecretManager +{ + public sealed partial class BitwardenSecretManagerClientSettings + { + public string AccessToken { get { throw null; } set { } } + + public string ApiUrl { get { throw null; } set { } } + + public string? AuthCacheDirectory { get { throw null; } set { } } + + public bool DisableHealthChecks { get { throw null; } set { } } + + public System.TimeSpan? HealthCheckTimeout { get { throw null; } set { } } + + public string IdentityUrl { get { throw null; } set { } } + + public System.Guid OrganizationId { get { throw null; } set { } } + + public System.Guid ProjectId { get { throw null; } set { } } + } +} + +namespace Microsoft.Extensions.Hosting +{ + public static partial class AspireBitwardenSecretManagerExtensions + { + public static void AddBitwardenSecretManagerClient(this IHostApplicationBuilder builder, string connectionName, System.Action? configureSettings = null) { } + + public static void AddKeyedBitwardenSecretManagerClient(this IHostApplicationBuilder builder, string name, System.Action? configureSettings = null) { } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager.cs b/src/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager.cs new file mode 100644 index 000000000..8f3af3956 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager/api/CommunityToolkit.Aspire.Hosting.Bitwarden.SecretManager.cs @@ -0,0 +1,141 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class BitwardenSecretManagerExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddBitwardenSecretManager(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder projectNameOrId, ApplicationModel.IResourceBuilder organizationId, ApplicationModel.IResourceBuilder accessToken) { throw null; } + + [AspireExport("addSecretWithRemoteName")] + public static ApplicationModel.IResourceBuilder AddSecret(this ApplicationModel.IResourceBuilder builder, string name, string remoteName) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder AddSecret(this ApplicationModel.IResourceBuilder builder, string name) { throw null; } + + [AspireExport] + public static ApplicationModel.IExpressionValue AsSecretId(this ApplicationModel.IResourceBuilder secret) { throw null; } + + [AspireExport("getSecretById")] + public static ApplicationModel.IResourceBuilder GetSecret(this ApplicationModel.IResourceBuilder builder, string name, System.Guid secretId) { throw null; } + + [AspireExport("getSecretWithRemoteName")] + public static ApplicationModel.IResourceBuilder GetSecret(this ApplicationModel.IResourceBuilder builder, string name, string remoteName) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder GetSecret(this ApplicationModel.IResourceBuilder builder, string name) { throw null; } + + [AspireExportIgnore(Reason = "EndpointReference is not ATS-compatible; polyglot apphosts use the string variant")] + public static ApplicationModel.IResourceBuilder WithApiUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.EndpointReference endpoint) { throw null; } + + [AspireExport("withApiUrlFromParameter")] + public static ApplicationModel.IResourceBuilder WithApiUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder apiUrl) { throw null; } + + [AspireExport("withApiUrlFromExternalService")] + public static ApplicationModel.IResourceBuilder WithApiUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder server) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithApiUrl(this ApplicationModel.IResourceBuilder builder, string apiUrl) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithAuthCacheDirectory(this ApplicationModel.IResourceBuilder builder, string authCacheDirectory) { throw null; } + + [AspireExport("withBitwardenReferenceAccessToken")] + public static ApplicationModel.IResourceBuilder WithBitwardenAccessToken(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder source, ApplicationModel.IResourceBuilder accessToken) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExportIgnore(Reason = "Use the source-based overload for the common case; this overload is for the edge case of a custom connection name passed to WithReference")] + public static ApplicationModel.IResourceBuilder WithBitwardenAccessToken(this ApplicationModel.IResourceBuilder builder, string connectionName, ApplicationModel.IResourceBuilder accessToken) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExport("withBitwardenReferenceAuthCacheDirectoryFromParameter")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheDirectory(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder source, ApplicationModel.IResourceBuilder authCacheDirectory) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExport("withBitwardenReferenceAuthCacheDirectory")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheDirectory(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder source, string authCacheDirectory) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExportIgnore(Reason = "Use the source-based overload for the common case; this overload is for the edge case of a custom connection name passed to WithReference")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheDirectory(this ApplicationModel.IResourceBuilder builder, string connectionName, ApplicationModel.IResourceBuilder authCacheDirectory) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExportIgnore(Reason = "Use the source-based overload for the common case; this overload is for the edge case of a custom connection name passed to WithReference")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheDirectory(this ApplicationModel.IResourceBuilder builder, string connectionName, string authCacheDirectory) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExport("withBitwardenReferenceAuthCacheVolume")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheVolume(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder source, string? volumeName = null, string containerDirectory = "/var/lib/bitwarden") + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExportIgnore(Reason = "Use the source-based overload for the common case; this overload is for the edge case of a custom connection name passed to WithReference")] + public static ApplicationModel.IResourceBuilder WithBitwardenAuthCacheVolume(this ApplicationModel.IResourceBuilder builder, string connectionName, string? volumeName = null, string containerDirectory = "/var/lib/bitwarden") + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithCacheFile(this ApplicationModel.IResourceBuilder builder, string cacheFile) { throw null; } + + [AspireExportIgnore(Reason = "EndpointReference is not ATS-compatible; polyglot apphosts use the string variant")] + public static ApplicationModel.IResourceBuilder WithIdentityUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.EndpointReference endpoint) { throw null; } + + [AspireExport("withIdentityUrlFromParameter")] + public static ApplicationModel.IResourceBuilder WithIdentityUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder identityUrl) { throw null; } + + [AspireExport("withIdentityUrlFromExternalService")] + public static ApplicationModel.IResourceBuilder WithIdentityUrl(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder server) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithIdentityUrl(this ApplicationModel.IResourceBuilder builder, string identityUrl) { throw null; } + + [AspireExport("withBitwardenSecretManagerReference")] + public static ApplicationModel.IResourceBuilder WithReference(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder source, string? connectionName = null) + where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + [AspireExport] + public partial class BitwardenSecretManagerResource : Resource, IResourceWithWaitSupport, IResource + { + public BitwardenSecretManagerResource(string name, ParameterResource projectNameOrIdParameter, ParameterResource organizationIdParameter, ParameterResource managementAccessToken, string appHostDirectory) : base(default!) { } + + public string? AuthCacheDirectory { get { throw null; } } + + public string? CacheFile { get { throw null; } } + + public System.Guid? ExistingProjectId { get { throw null; } } + + public System.Guid? ProjectId { get { throw null; } } + } + + [AspireExport] + public partial class BitwardenSecretResource : ParameterResource, IResourceWithParent, IResourceWithParent, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences + { + public BitwardenSecretResource(string name, string remoteName, BitwardenSecretManagerResource parent, System.Func valueGetter) : base(default!, default!, default) { } + + string IManifestExpressionProvider.ValueExpression { get { throw null; } } + + System.Collections.Generic.IEnumerable IValueWithReferences.References { get { throw null; } } + + public bool IsManaged { get { throw null; } } + + public BitwardenSecretManagerResource Parent { get { throw null; } } + + public string RemoteName { get { throw null; } } + + public System.Guid? ResolvedSecretId { get { throw null; } } + + public System.Guid? SecretId { get { throw null; } } + + System.Threading.Tasks.ValueTask IValueProvider.GetValueAsync(ValueProviderContext context, System.Threading.CancellationToken cancellationToken) { throw null; } + + System.Threading.Tasks.ValueTask IValueProvider.GetValueAsync(System.Threading.CancellationToken cancellationToken) { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Dbx/api/CommunityToolkit.Aspire.Hosting.Dbx.cs b/src/CommunityToolkit.Aspire.Hosting.Dbx/api/CommunityToolkit.Aspire.Hosting.Dbx.cs new file mode 100644 index 000000000..c8513ea55 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.Dbx/api/CommunityToolkit.Aspire.Hosting.Dbx.cs @@ -0,0 +1,161 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class DbxBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddDbx(this IDistributedApplicationBuilder builder, string name = "dbx", int? port = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithHostPort(this ApplicationModel.IResourceBuilder builder, int? port) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + public sealed partial class DbxConnectionConfig + { + [System.Text.Json.Serialization.JsonPropertyName("connection_string")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? ConnectionString { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("connect_timeout_secs")] + public ulong ConnectTimeoutSecs { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("database")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? Database { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("db_type")] + public required DbxDatabaseType DbType { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("host")] + public required string Host { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("id")] + public required string Id { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("jdbc_driver_class")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? JdbcDriverClass { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("jdbc_driver_paths")] + public System.Collections.Generic.List JdbcDriverPaths { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("name")] + public required string Name { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("password")] + public required string Password { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("port")] + public required ushort Port { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("query_timeout_secs")] + public ulong QueryTimeoutSecs { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_cluster_nodes")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisClusterNodes { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_connection_mode")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisConnectionMode { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_sentinel_master")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisSentinelMaster { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_sentinel_nodes")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisSentinelNodes { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_sentinel_password")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisSentinelPassword { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_sentinel_tls")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)] + public bool RedisSentinelTls { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("redis_sentinel_username")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? RedisSentinelUsername { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("ssl")] + public bool Ssl { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("url_params")] + [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] + public string? UrlParams { get { throw null; } set { } } + + [System.Text.Json.Serialization.JsonPropertyName("username")] + public required string Username { get { throw null; } set { } } + } + + [AspireExport(ExposeProperties = true)] + public sealed partial class DbxContainerResource : ContainerResource + { + public DbxContainerResource(string name) : base(default!, default) { } + + public EndpointReference PrimaryEndpoint { get { throw null; } } + + public bool AddConnection(DbxConnectionConfig connection) { throw null; } + } + + public enum DbxDatabaseType + { + Mysql = 0, + Postgres = 1, + Sqlite = 2, + Redis = 3, + DuckDb = 4, + ClickHouse = 5, + SqlServer = 6, + MongoDb = 7, + Oracle = 8, + Elasticsearch = 9, + Doris = 10, + StarRocks = 11, + Redshift = 12, + Dameng = 13, + Kingbase = 14, + Highgo = 15, + Vastbase = 16, + Goldendb = 17, + Gaussdb = 18, + Yashandb = 19, + Databricks = 20, + SapHana = 21, + Teradata = 22, + Vertica = 23, + Firebird = 24, + Exasol = 25, + OpenGauss = 26, + OceanbaseOracle = 27, + Gbase = 28, + Access = 29, + H2 = 30, + Snowflake = 31, + Trino = 32, + Hive = 33, + Db2 = 34, + Informix = 35, + Neo4j = 36, + Cassandra = 37, + Bigquery = 38, + Kylin = 39, + Sundb = 40, + Tdengine = 41, + Xugu = 42, + Iris = 43, + Jdbc = 44 + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.K3s/api/CommunityToolkit.Aspire.Hosting.K3s.cs b/src/CommunityToolkit.Aspire.Hosting.K3s/api/CommunityToolkit.Aspire.Hosting.K3s.cs new file mode 100644 index 000000000..d67fb8bbb --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.K3s/api/CommunityToolkit.Aspire.Hosting.K3s.cs @@ -0,0 +1,174 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class K3sBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddK3sCluster(this IDistributedApplicationBuilder builder, string name, int? apiServerPort = null, int? agentCount = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithAgentCount(this ApplicationModel.IResourceBuilder builder, int count) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataVolume(this ApplicationModel.IResourceBuilder builder, string? name = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDisabledComponent(this ApplicationModel.IResourceBuilder builder, string component) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithExtraArg(this ApplicationModel.IResourceBuilder builder, string arg) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithHelmImage(this ApplicationModel.IResourceBuilder builder, string? tag = null, string? image = null, string? registry = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithK3sVersion(this ApplicationModel.IResourceBuilder builder, string tag) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithKubectlImage(this ApplicationModel.IResourceBuilder builder, string? tag = null, string? image = null, string? registry = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithLifetime(this ApplicationModel.IResourceBuilder builder, ApplicationModel.ContainerLifetime lifetime) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithPodSubnet(this ApplicationModel.IResourceBuilder builder, string cidr) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithServiceSubnet(this ApplicationModel.IResourceBuilder builder, string cidr) { throw null; } + } + + public static partial class K3sHelmBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddHelmRelease(this ApplicationModel.IResourceBuilder builder, string name, string chart, string? repo = null, string? version = null, string @namespace = "default") { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithHelmValue(this ApplicationModel.IResourceBuilder builder, string key, string value) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithHelmValuesFile(this ApplicationModel.IResourceBuilder builder, string path) { throw null; } + } + + public static partial class K3sManifestBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddK8sManifest(this ApplicationModel.IResourceBuilder builder, string name, string path) { throw null; } + } + + public static partial class K3sServiceEndpointExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddServiceEndpoint(this ApplicationModel.IResourceBuilder builder, string name, string serviceName, int servicePort, string @namespace = "default", string? scheme = null) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + [AspireExport(ExposeProperties = true)] + public sealed partial class HelmReleaseResource : ContainerResource, IResourceWithParent, IResourceWithParent, IResource + { + public HelmReleaseResource(string name, string releaseName, string @namespace, K3sClusterResource cluster) : base(default!, default) { } + + public string Namespace { get { throw null; } } + + public K3sClusterResource Parent { get { throw null; } } + + public string ReleaseName { get { throw null; } } + } + + public sealed partial class K3sAgentResource : ContainerResource, IResourceWithParent, IResourceWithParent, IResource + { + public K3sAgentResource(string name, K3sClusterResource cluster) : base(default!, default) { } + + public K3sClusterResource Parent { get { throw null; } } + } + + [AspireExport(ExposeProperties = true)] + public sealed partial class K3sClusterResource : ContainerResource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public K3sClusterResource(string name) : base(default!, default) { } + + public EndpointReference ApiEndpoint { get { throw null; } } + + public string? ConnectionStringEnvironmentVariable { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + [AspireExportIgnore(Reason = "Internal tracking collection; not needed by guest SDK consumers.")] + public System.Collections.Generic.IReadOnlyDictionary HelmReleases { get { throw null; } } + + [AspireExportIgnore(Reason = "Internal tracking collection; not needed by guest SDK consumers.")] + public System.Collections.Generic.IReadOnlyList Manifests { get { throw null; } } + + public System.Threading.Tasks.ValueTask GetConnectionStringAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; } + } + + [AspireExport(ExposeProperties = true)] + public sealed partial class K3sServiceEndpointResource : Resource, IResourceWithParent, IResourceWithParent, IResource, IResourceWithWaitSupport, IResourceWithConnectionString, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public K3sServiceEndpointResource(string name, string serviceName, int servicePort, string @namespace, K3sClusterResource cluster) : base(default!) { } + + public string? ConnectionStringEnvironmentVariable { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public int HostPort { get { throw null; } } + + public string Namespace { get { throw null; } } + + public K3sClusterResource Parent { get { throw null; } } + + public string ServiceName { get { throw null; } } + + public int ServicePort { get { throw null; } } + + public System.Threading.Tasks.ValueTask GetConnectionStringAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; } + } + + [AspireExport(ExposeProperties = true)] + public sealed partial class K8sManifestResource : ContainerResource, IResourceWithParent, IResourceWithParent, IResource + { + public K8sManifestResource(string name, string path, K3sClusterResource cluster) : base(default!, default) { } + + public K3sClusterResource Parent { get { throw null; } } + + public string Path { get { throw null; } } + } +} + +namespace CommunityToolkit.Aspire.Hosting +{ + public sealed partial class K3sClusterOptions + { + public int AgentCount { get { throw null; } set { } } + + public string? ClusterCidr { get { throw null; } set { } } + + public System.Collections.Generic.IList DisabledComponents { get { throw null; } } + + public System.Collections.Generic.IList ExtraArgs { get { throw null; } } + + public string HelmImage { get { throw null; } set { } } + + public string HelmRegistry { get { throw null; } set { } } + + public string HelmTag { get { throw null; } set { } } + + public string? ImageTag { get { throw null; } set { } } + + public string KubectlImage { get { throw null; } set { } } + + public string KubectlRegistry { get { throw null; } set { } } + + public string KubectlTag { get { throw null; } set { } } + + public string? ServiceCidr { get { throw null; } set { } } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Logto/api/CommunityToolkit.Aspire.Hosting.Logto.cs b/src/CommunityToolkit.Aspire.Hosting.Logto/api/CommunityToolkit.Aspire.Hosting.Logto.cs new file mode 100644 index 000000000..e803b050e --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.Logto/api/CommunityToolkit.Aspire.Hosting.Logto.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class LogtoBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddLogto(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder postgres, string databaseName = "logto_db", int? port = null, int? adminPort = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithAdminEndpoint(this ApplicationModel.IResourceBuilder builder, string url) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDatabase(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder postgres, string databaseName = "logto_db") { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDatabaseSeeding(this ApplicationModel.IResourceBuilder builder) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataBindMount(this ApplicationModel.IResourceBuilder builder, string source) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataVolume(this ApplicationModel.IResourceBuilder builder, string? name = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDeprecationTracing(this ApplicationModel.IResourceBuilder builderWithResource) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDisableAdminConsole(this ApplicationModel.IResourceBuilder builder, bool disable) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithNodeEnv(this ApplicationModel.IResourceBuilder builder, string env) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithRedis(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder redis) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithResourcePort(this ApplicationModel.IResourceBuilder builder, int? port = null, int? adminPort = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithSecretVault(this ApplicationModel.IResourceBuilder builder, string secretVaultKek) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithSensitiveUsername(this ApplicationModel.IResourceBuilder builder, bool sensitiveUsername) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithTrustProxyHeader(this ApplicationModel.IResourceBuilder builder, bool trustProxyHeader) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + [AspireExport(ExposeProperties = true)] + public sealed partial class LogtoResource : ContainerResource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public LogtoResource(string name) : base(default!, default) { } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public EndpointReferenceExpression Host { get { throw null; } } + + public EndpointReferenceExpression Port { get { throw null; } } + + public EndpointReference PrimaryEndpoint { get { throw null; } } + + public ReferenceExpression UriExpression { get { throw null; } } + + System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/api/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.cs b/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/api/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.cs index e9e8b16b6..f149c6211 100644 --- a/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/api/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions/api/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.cs @@ -12,5 +12,8 @@ public static partial class MongoDBBuilderExtensions { [AspireExportIgnore(Reason = "The configuration callback depends on DbGate container APIs that are not exported to polyglot app hosts. Use the overload without a configuration callback instead.")] public static ApplicationModel.IResourceBuilder WithDbGate(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } + + [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] + public static ApplicationModel.IResourceBuilder WithDbx(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } } } \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.MySql.Extensions/api/CommunityToolkit.Aspire.Hosting.MySql.Extensions.cs b/src/CommunityToolkit.Aspire.Hosting.MySql.Extensions/api/CommunityToolkit.Aspire.Hosting.MySql.Extensions.cs index bc961d2f6..3d737cdd2 100644 --- a/src/CommunityToolkit.Aspire.Hosting.MySql.Extensions/api/CommunityToolkit.Aspire.Hosting.MySql.Extensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.MySql.Extensions/api/CommunityToolkit.Aspire.Hosting.MySql.Extensions.cs @@ -15,5 +15,8 @@ public static partial class MySqlBuilderExtensions [AspireExport(RunSyncOnBackgroundThread = true)] public static ApplicationModel.IResourceBuilder WithDbGate(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } + + [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] + public static ApplicationModel.IResourceBuilder WithDbx(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } } } \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions/api/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.cs b/src/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions/api/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.cs index ca0f35327..d0b29a868 100644 --- a/src/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions/api/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions/api/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.cs @@ -15,6 +15,9 @@ public static partial class PostgresBuilderExtensions [AspireExportIgnore(Reason = "Action> is not ATS-compatible. Use the callback-free overload instead.")] public static ApplicationModel.IResourceBuilder WithDbGate(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } + + [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] + public static ApplicationModel.IResourceBuilder WithDbx(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } } public static partial class PostgresDatabaseResourceBuilderExtensions diff --git a/src/CommunityToolkit.Aspire.Hosting.Redis.Extensions/api/CommunityToolkit.Aspire.Hosting.Redis.Extensions.cs b/src/CommunityToolkit.Aspire.Hosting.Redis.Extensions/api/CommunityToolkit.Aspire.Hosting.Redis.Extensions.cs index 62a3e5d3d..0d5f4802c 100644 --- a/src/CommunityToolkit.Aspire.Hosting.Redis.Extensions/api/CommunityToolkit.Aspire.Hosting.Redis.Extensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.Redis.Extensions/api/CommunityToolkit.Aspire.Hosting.Redis.Extensions.cs @@ -12,5 +12,8 @@ public static partial class RedisBuilderExtensions { [AspireExport(RunSyncOnBackgroundThread = true)] public static ApplicationModel.IResourceBuilder WithDbGate(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } + + [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] + public static ApplicationModel.IResourceBuilder WithDbx(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } } } \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.RustFs/api/CommunityToolkit.Aspire.Hosting.RustFs.cs b/src/CommunityToolkit.Aspire.Hosting.RustFs/api/CommunityToolkit.Aspire.Hosting.RustFs.cs new file mode 100644 index 000000000..89a082dfd --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.RustFs/api/CommunityToolkit.Aspire.Hosting.RustFs.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class RustFsBuilderExtensions + { + [AspireExport("addBuckets")] + public static ApplicationModel.IResourceBuilder AddBucket(this ApplicationModel.IResourceBuilder builder, System.Collections.Generic.IReadOnlyList bucketNames) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder AddBucket(this ApplicationModel.IResourceBuilder builder, string bucketName) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder AddRustFs(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder? accessKey = null, ApplicationModel.IResourceBuilder? secretKey = null, int? port = null, int? consolePort = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataBindMount(this ApplicationModel.IResourceBuilder builder, string source) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataVolume(this ApplicationModel.IResourceBuilder builder, string? name = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithSigningRegion(this ApplicationModel.IResourceBuilder builder, string region) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + public sealed partial class RustFsBucketResource : Resource, IResourceWithParent, IResourceWithParent, IResource, IResourceWithConnectionString, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public RustFsBucketResource(string name, string bucketName, RustFsResource parent) : base(default!) { } + + public string BucketName { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public RustFsResource Parent { get { throw null; } } + + System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } + } + + public sealed partial class RustFsResource : ContainerResource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public RustFsResource(string name, ParameterResource accessKey, ParameterResource secretKey) : base(default!, default) { } + + public ParameterResource AccessKey { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public EndpointReferenceExpression Host { get { throw null; } } + + public EndpointReferenceExpression Port { get { throw null; } } + + public EndpointReference PrimaryEndpoint { get { throw null; } } + + public ParameterResource SecretKey { get { throw null; } } + + public string SigningRegion { get { throw null; } } + + public ReferenceExpression UriExpression { get { throw null; } } + + System.Collections.Generic.IEnumerable> IResourceWithConnectionString.GetConnectionProperties() { throw null; } + + public System.Threading.Tasks.ValueTask GetConnectionStringAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.SeaweedFS/api/CommunityToolkit.Aspire.Hosting.SeaweedFS.cs b/src/CommunityToolkit.Aspire.Hosting.SeaweedFS/api/CommunityToolkit.Aspire.Hosting.SeaweedFS.cs new file mode 100644 index 000000000..f6c4a8336 --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.SeaweedFS/api/CommunityToolkit.Aspire.Hosting.SeaweedFS.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class SeaweedFSBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddSeaweedFS(this IDistributedApplicationBuilder builder, string name) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithAccessKey(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder accessKey) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataBindMount(this ApplicationModel.IResourceBuilder builder, string source, bool isReadOnly = false) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithDataVolume(this ApplicationModel.IResourceBuilder builder, string? name = null, bool isReadOnly = false) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithFiler(this ApplicationModel.IResourceBuilder builder, int? filerPort = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithHostPort(this ApplicationModel.IResourceBuilder builder, int? port) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithS3(this ApplicationModel.IResourceBuilder builder, int? s3Port = null) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithS3ConfigFile(this ApplicationModel.IResourceBuilder builder, string configFilePath) { throw null; } + + [AspireExport] + public static ApplicationModel.IResourceBuilder WithSecretKey(this ApplicationModel.IResourceBuilder builder, ApplicationModel.IResourceBuilder secretKey) { throw null; } + } + + public sealed partial class SeaweedFSContainerResource : ApplicationModel.ContainerResource, ApplicationModel.IResourceWithConnectionString, ApplicationModel.IResource, ApplicationModel.IExpressionValue, ApplicationModel.IValueProvider, ApplicationModel.IManifestExpressionProvider, ApplicationModel.IValueWithReferences + { + public SeaweedFSContainerResource(string name, ApplicationModel.ParameterResource accessKey, ApplicationModel.ParameterResource secretKey) : base(default!, default) { } + + public ApplicationModel.ParameterResource AccessKey { get { throw null; } } + + public ApplicationModel.ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public ApplicationModel.EndpointReference FilerEndpoint { get { throw null; } } + + public ApplicationModel.EndpointReference MasterEndpoint { get { throw null; } } + + public ApplicationModel.EndpointReference PrimaryEndpoint { get { throw null; } } + + public ApplicationModel.ParameterResource SecretKey { get { throw null; } } + + System.Collections.Generic.IEnumerable> ApplicationModel.IResourceWithConnectionString.GetConnectionProperties() { throw null; } + + public System.Threading.Tasks.ValueTask GetConnectionStringAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions/api/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.cs b/src/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions/api/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.cs index 7762e6cb5..43644f00a 100644 --- a/src/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions/api/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions/api/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.cs @@ -15,5 +15,8 @@ public static partial class SqlServerBuilderExtensions [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] public static ApplicationModel.IResourceBuilder WithDbGate(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } + + [AspireExportIgnore(Reason = "Action> is not supported reliably in polyglot app hosts. Use the container options overload instead.")] + public static ApplicationModel.IResourceBuilder WithDbx(this ApplicationModel.IResourceBuilder builder, System.Action>? configureContainer = null, string? containerName = null) { throw null; } } } \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.Squad/api/CommunityToolkit.Aspire.Hosting.Squad.cs b/src/CommunityToolkit.Aspire.Hosting.Squad/api/CommunityToolkit.Aspire.Hosting.Squad.cs new file mode 100644 index 000000000..4ec31773a --- /dev/null +++ b/src/CommunityToolkit.Aspire.Hosting.Squad/api/CommunityToolkit.Aspire.Hosting.Squad.cs @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace Aspire.Hosting +{ + public static partial class SquadBuilderExtensions + { + [AspireExport] + public static ApplicationModel.IResourceBuilder AddSquad(this IDistributedApplicationBuilder builder, string name, string? teamRoot = null) { throw null; } + } +} + +namespace Aspire.Hosting.ApplicationModel +{ + public sealed partial class SquadResource : Resource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences + { + public SquadResource(string name, string teamRoot) : base(default!) { } + + public System.Collections.Generic.IReadOnlyList Agents { get { throw null; } } + + public ReferenceExpression ConnectionStringExpression { get { throw null; } } + + public string TeamRoot { get { throw null; } } + } + + public sealed partial class SquadTeamAnnotation : IResourceAnnotation + { + public SquadTeamAnnotation(string teamRoot, string decisionsMdPath, string inboxDir, string agentRosterFile) { } + + public string AgentRosterFile { get { throw null; } } + + public string DecisionsMdPath { get { throw null; } } + + public string InboxDir { get { throw null; } } + + public string TeamRoot { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.Hosting.SurrealDb/api/CommunityToolkit.Aspire.Hosting.SurrealDb.cs b/src/CommunityToolkit.Aspire.Hosting.SurrealDb/api/CommunityToolkit.Aspire.Hosting.SurrealDb.cs index deec8f412..9a3174377 100644 --- a/src/CommunityToolkit.Aspire.Hosting.SurrealDb/api/CommunityToolkit.Aspire.Hosting.SurrealDb.cs +++ b/src/CommunityToolkit.Aspire.Hosting.SurrealDb/api/CommunityToolkit.Aspire.Hosting.SurrealDb.cs @@ -17,7 +17,7 @@ public static partial class SurrealDbBuilderExtensions public static ApplicationModel.IResourceBuilder AddNamespace(this ApplicationModel.IResourceBuilder builder, string name, string? namespaceName = null) { throw null; } [AspireExport] - public static ApplicationModel.IResourceBuilder AddSurrealServer(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder? userName = null, ApplicationModel.IResourceBuilder? password = null, int? port = null, string path = "memory", bool strictMode = false) { throw null; } + public static ApplicationModel.IResourceBuilder AddSurrealServer(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder? userName = null, ApplicationModel.IResourceBuilder? password = null, int? port = null, string path = "memory") { throw null; } [AspireExport("withDatabaseCreationScript", MethodName = "withCreationScript")] [System.Diagnostics.CodeAnalysis.Experimental("CTASPIRE002")] diff --git a/src/CommunityToolkit.Aspire.Logto.Client/api/CommunityToolkit.Aspire.Logto.Client.cs b/src/CommunityToolkit.Aspire.Logto.Client/api/CommunityToolkit.Aspire.Logto.Client.cs new file mode 100644 index 000000000..33ea10d4f --- /dev/null +++ b/src/CommunityToolkit.Aspire.Logto.Client/api/CommunityToolkit.Aspire.Logto.Client.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace CommunityToolkit.Aspire.Logto.Client +{ + public static partial class LogtoConnectionStringHelper + { + public static string? GetEndpointFromConnectionString(string? connectionString) { throw null; } + } +} + +namespace Microsoft.Extensions.Hosting +{ + public static partial class LogtoClientBuilder + { + public static AspNetCore.Authentication.AuthenticationBuilder AddLogtoJwtBearer(this AspNetCore.Authentication.AuthenticationBuilder builder, string serviceName, System.Collections.Generic.IEnumerable appIdentification, string authenticationScheme = "Bearer", string? configurationSectionName = "Aspire:Logto:Client", System.Action? configureOptions = null) { throw null; } + + public static AspNetCore.Authentication.AuthenticationBuilder AddLogtoJwtBearer(this AspNetCore.Authentication.AuthenticationBuilder builder, string serviceName, string appIdentification, string authenticationScheme = "Bearer", string? configurationSectionName = "Aspire:Logto:Client", System.Action? configureOptions = null) { throw null; } + + public static DependencyInjection.IServiceCollection AddLogtoOIDC(this IHostApplicationBuilder builder, string? connectionName = null, string? configurationSectionName = "Aspire:Logto:Client", string authenticationScheme = "Logto", string cookieScheme = "Logto.Cookie", System.Action? logtoOptions = null, System.Action? oidcOptions = null) { throw null; } + } +} \ No newline at end of file diff --git a/src/CommunityToolkit.Aspire.SeaweedFS.Client/api/CommunityToolkit.Aspire.SeaweedFS.Client.cs b/src/CommunityToolkit.Aspire.SeaweedFS.Client/api/CommunityToolkit.Aspire.SeaweedFS.Client.cs new file mode 100644 index 000000000..31a0a3c2f --- /dev/null +++ b/src/CommunityToolkit.Aspire.SeaweedFS.Client/api/CommunityToolkit.Aspire.SeaweedFS.Client.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace CommunityToolkit.Aspire.SeaweedFS.Client +{ + public sealed partial class SeaweedFSFilerClient + { + public SeaweedFSFilerClient(System.Net.Http.HttpClient httpClient) { } + + public System.Net.Http.HttpClient HttpClient { get { throw null; } } + } +} + +namespace Microsoft.Extensions.Hosting +{ + public static partial class SeaweedFSClientBuilderExtensionMethods + { + public static void AddSeaweedFSFilerClient(this IHostApplicationBuilder builder, string connectionName, System.Action? configureSettings = null, string? configurationSectionName = null) { } + + public static void AddSeaweedFSS3Client(this IHostApplicationBuilder builder, string connectionName, System.Action? configureSettings = null, string? configurationSectionName = null) { } + } + + public sealed partial class SeaweedFSClientSettings + { + public string? AccessKey { get { throw null; } set { } } + + public System.Action? ConfigureS3Config { get { throw null; } set { } } + + public bool DisableHealthChecks { get { throw null; } set { } } + + public System.Uri? Endpoint { get { throw null; } set { } } + + public System.Uri? FilerEndpoint { get { throw null; } set { } } + + public bool ForcePathStyle { get { throw null; } set { } } + + public string? SecretKey { get { throw null; } set { } } + + public bool UseSsl { get { throw null; } set { } } + } +} \ No newline at end of file