Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//------------------------------------------------------------------------------
namespace CommunityToolkit.Aspire.EventStore
{
[System.Obsolete("EventStore has been rebranded to KurrentDB. Use CommunityToolkit.Aspire.KurrentDB and KurrentDBSettings instead. This integration will be removed in a future release.")]
public sealed partial class EventStoreSettings
{
public string? ConnectionString { get { throw null; } set { } }
Expand All @@ -22,6 +23,7 @@ public sealed partial class EventStoreSettings

namespace Microsoft.Extensions.Hosting
{
[System.Obsolete("EventStore has been rebranded to KurrentDB. Use CommunityToolkit.Aspire.KurrentDB and AspireKurrentDBExtensions instead. This integration will be removed in a future release.")]
public static partial class AspireEventStoreExtensions
{
public static void AddEventStoreClient(this IHostApplicationBuilder builder, string connectionName, System.Action<CommunityToolkit.Aspire.EventStore.EventStoreSettings>? configureSettings = null) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
[System.Obsolete("EventStore has been rebranded to KurrentDB. Use CommunityToolkit.Aspire.Hosting.KurrentDB and KurrentDBBuilderExtensions instead. This integration will be removed in a future release.")]
public static partial class EventStoreBuilderExtensions
{
public static ApplicationModel.IResourceBuilder<ApplicationModel.EventStoreResource> AddEventStore(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; }
Expand All @@ -20,6 +21,7 @@ public static partial class EventStoreBuilderExtensions

namespace Aspire.Hosting.ApplicationModel
{
[System.Obsolete("EventStore has been rebranded to KurrentDB. Use CommunityToolkit.Aspire.Hosting.KurrentDB and KurrentDBResource instead. This integration will be removed in a future release.")]
public partial class EventStoreResource : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
{
public EventStoreResource(string name) : base(default!, default) { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public static partial class FlagdBuilderExtensions
{
public static ApplicationModel.IResourceBuilder<ApplicationModel.FlagdResource> AddFlagd(this IDistributedApplicationBuilder builder, string name, int? port = null, int? ofrepPort = null) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.FlagdResource> WithBindFileSync(this ApplicationModel.IResourceBuilder<ApplicationModel.FlagdResource> builder, string fileSource, string filename = "flagd.json") { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.FlagdResource> WithLogLevel(this ApplicationModel.IResourceBuilder<ApplicationModel.FlagdResource> builder, Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; }
}
}

namespace Aspire.Hosting.ApplicationModel
{
public partial class FlagdResource : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
{
public FlagdResource(string name) : base(default!, default) { }

public ReferenceExpression ConnectionStringExpression { get { throw null; } }

public EndpointReference HealthCheckEndpoint { get { throw null; } }

public EndpointReference OfrepEndpoint { get { throw null; } }

public EndpointReference PrimaryEndpoint { get { throw null; } }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public static partial class GoFeatureFlagBuilderExtensions
public static ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> WithDataVolume(this ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> builder, string? name = null) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> WithGoffBindMount(this ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> builder, string source) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> WithLogLevel(this ApplicationModel.IResourceBuilder<ApplicationModel.GoFeatureFlagResource> builder, Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public partial class JavaAppExecutableResourceOptions

public string[]? Args { get { throw null; } set { } }

public string[]? JvmArgs { get { throw null; } set { } }

public string? OtelAgentPath { get { throw null; } set { } }

public int Port { get { throw null; } set { } }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public static partial class KeycloakPostgresExtension
{
public static ApplicationModel.IResourceBuilder<ApplicationModel.KeycloakResource> WithPostgres(this ApplicationModel.IResourceBuilder<ApplicationModel.KeycloakResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> database, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? username = null, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? password = null, bool xaEnabled = false) { throw null; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public static partial class KurrentDBBuilderExtensions
{
public static ApplicationModel.IResourceBuilder<ApplicationModel.KurrentDBResource> AddKurrentDB(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.KurrentDBResource> WithDataBindMount(this ApplicationModel.IResourceBuilder<ApplicationModel.KurrentDBResource> builder, string source) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.KurrentDBResource> WithDataVolume(this ApplicationModel.IResourceBuilder<ApplicationModel.KurrentDBResource> builder, string? name = null) { throw null; }
}
}

namespace Aspire.Hosting.ApplicationModel
{
public partial class KurrentDBResource : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
{
public KurrentDBResource(string name) : base(default!, default) { }

public ReferenceExpression ConnectionStringExpression { get { throw null; } }

public EndpointReference PrimaryEndpoint { get { throw null; } }
}
}

namespace CommunityToolkit.Aspire.Hosting.KurrentDB
{
public partial class KurrentDBHealthCheck : Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck, System.IDisposable
{
public KurrentDBHealthCheck(string connectionString) { }

public System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult> CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext context, System.Threading.CancellationToken cancellationToken = default) { throw null; }

public virtual void Dispose() { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static partial class McpInspectorResourceBuilderExtensions
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name, System.Action<McpInspectorOptions> configureOptions) { throw null; }

[System.Obsolete("Use the overload with McpInspectorOptions instead. This overload will be removed in the next version.")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name, int clientPort = 6274, int serverPort = 6277, string inspectorVersion = "0.16.5") { throw null; }
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name, int clientPort = 6274, int serverPort = 6277, string inspectorVersion = "0.17.2") { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name) { throw null; }

Expand All @@ -46,7 +46,7 @@ namespace Aspire.Hosting.ApplicationModel
public partial class McpInspectorResource : ExecutableResource
{
public const string ClientEndpointName = "client";
public const string InspectorVersion = "0.16.5";
public const string InspectorVersion = "0.17.2";
public const string ServerProxyEndpointName = "server-proxy";
public McpInspectorResource(string name) : base(default!, default!, default!) { }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public static partial class SqlProjectBuilderExtensions

public static ApplicationModel.IResourceBuilder<ApplicationModel.SqlPackageResource<TPackage>> WithReference<TPackage>(this ApplicationModel.IResourceBuilder<ApplicationModel.SqlPackageResource<TPackage>> builder, ApplicationModel.IResourceBuilder<ApplicationModel.SqlServerDatabaseResource> target)
where TPackage : IPackageMetadata { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.SqlProjectResource> WithSkipWhenDeployed(this ApplicationModel.IResourceBuilder<ApplicationModel.SqlProjectResource> builder) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.SqlPackageResource<TPackage>> WithSkipWhenDeployed<TPackage>(this ApplicationModel.IResourceBuilder<ApplicationModel.SqlPackageResource<TPackage>> builder)
where TPackage : IPackageMetadata { throw null; }
}
}

Expand All @@ -68,6 +73,10 @@ public partial record DacpacMetadataAnnotation(string DacpacPath) : IResourceAnn
{
}

public sealed partial class DacpacSkipWhenDeployedAnnotation : IResourceAnnotation
{
}

public partial interface IResourceWithDacpac : IResource, IResourceWithWaitSupport
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public static partial class SurrealDbBuilderExtensions
[System.Diagnostics.CodeAnalysis.Experimental("CTASPIRE002")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> WithInitFiles(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> builder, string source) { throw null; }

public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> WithLogLevel(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> builder, Microsoft.Extensions.Logging.LogLevel logLevel) { throw null; }

public static ApplicationModel.IResourceBuilder<T> WithSurrealist<T>(this ApplicationModel.IResourceBuilder<T> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.SurrealistContainerResource>>? configureContainer = null, string? containerName = null)
where T : ApplicationModel.SurrealDbServerResource { throw null; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CommunityToolkit.Aspire.KurrentDB
{
public partial class KurrentDBHealthCheck : Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck, System.IDisposable
{
public KurrentDBHealthCheck(string connectionString) { }

public System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult> CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext context, System.Threading.CancellationToken cancellationToken = default) { throw null; }

public virtual void Dispose() { }
}

public sealed partial class KurrentDBSettings
{
public string? ConnectionString { get { throw null; } set { } }

public bool DisableHealthChecks { get { throw null; } set { } }

public bool DisableTracing { get { throw null; } set { } }

public System.TimeSpan? HealthCheckTimeout { get { throw null; } set { } }
}
}

namespace Microsoft.Extensions.Hosting
{
public static partial class AspireKurrentDBExtensions
{
public static void AddKeyedKurrentDBClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.KurrentDB.KurrentDBSettings>? configureSettings = null) { }

public static void AddKurrentDBClient(this IHostApplicationBuilder builder, string connectionName, System.Action<CommunityToolkit.Aspire.KurrentDB.KurrentDBSettings>? configureSettings = null) { }
}
}