Skip to content
Open
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
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <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 Microsoft.Extensions.Hosting
{
public static partial class AspireDuckDBExtensions
{
public static void AddDuckDBConnection(this IHostApplicationBuilder builder, string name, System.Action<DuckDBConnectionSettings>? configureSettings = null) { }

public static void AddKeyedDuckDBConnection(this IHostApplicationBuilder builder, string name, System.Action<DuckDBConnectionSettings>? configureSettings = null) { }
}

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

public bool DisableHealthChecks { get { throw null; } set { } }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <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 DuckDBResourceBuilderExtensions
{
public static ApplicationModel.IResourceBuilder<ApplicationModel.DuckDBResource> AddDuckDB(this IDistributedApplicationBuilder builder, string name, string? databasePath = null, string? databaseFileName = null) { throw null; }

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

namespace Aspire.Hosting.ApplicationModel
{
public partial class DuckDBResource : Resource, IResourceWithConnectionString, IResource, IExpressionValue, IValueProvider, IManifestExpressionProvider, IValueWithReferences
{
public DuckDBResource(string name, string databasePath, string databaseFileName) : base(default!) { }

public ReferenceExpression ConnectionStringExpression { get { throw null; } }

System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, ReferenceExpression>> IResourceWithConnectionString.GetConnectionProperties() { throw null; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public static partial class JavaScriptHostingExtensions
[AspireExport("addTurborepoApp", Description = "Adds a Turborepo monorepo workspace to the distributed application builder")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.TurborepoResource> AddTurborepoApp(this IDistributedApplicationBuilder builder, string name, string? workingDirectory = null) { throw null; }

[AspireExportIgnore(Reason = "The installer configuration callback is not ATS-compatible. Use the overload without the configure callback instead.")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.NxResource> WithBun(this ApplicationModel.IResourceBuilder<ApplicationModel.NxResource> builder, bool install = false, System.Action<ApplicationModel.IResourceBuilder<JavaScript.JavaScriptInstallerResource>>? configureInstaller = null) { throw null; }

[AspireExportIgnore(Reason = "The installer configuration callback is not ATS-compatible. Use the overload without the configure callback instead.")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.TurborepoResource> WithBun(this ApplicationModel.IResourceBuilder<ApplicationModel.TurborepoResource> builder, bool install = false, System.Action<ApplicationModel.IResourceBuilder<JavaScript.JavaScriptInstallerResource>>? configureInstaller = null) { throw null; }

[AspireExport("withMappedEndpointPort", Description = "Maps the endpoint port for the JavaScript app resource to the appropriate command line argument")]
public static ApplicationModel.IResourceBuilder<TResource> WithMappedEndpointPort<TResource>(this ApplicationModel.IResourceBuilder<TResource> builder, string? endpointName = null)
where TResource : JavaScript.JavaScriptAppResource { throw null; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ namespace Aspire.Hosting
{
public static partial class RustAppHostingExtension
{
[AspireExport("addBaconApp", Description = "Adds a Rust application to the application model")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.RustAppExecutableResource> AddBaconApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[]? args = null) { throw null; }

[AspireExport("addRustApp", Description = "Adds a Rust application to the application model")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.RustAppExecutableResource> AddRustApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[]? args = null) { throw null; }
}
Expand All @@ -19,6 +22,6 @@ namespace Aspire.Hosting.ApplicationModel
{
public partial class RustAppExecutableResource : ExecutableResource, IResourceWithServiceDiscovery, IResourceWithEndpoints, IResource
{
public RustAppExecutableResource(string name, string workingDirectory) : base(default!, default!, default!) { }
public RustAppExecutableResource(string name, string workingDirectory, string command = "cargo") : base(default!, default!, default!) { }
}
}