Skip to content

Commit fb773a1

Browse files
[create-pull-request] automated change (#749)
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
1 parent 59fda19 commit fb773a1

File tree

4 files changed

+113
-2
lines changed

4 files changed

+113
-2
lines changed

src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class GolangAppHostingExtension
1212
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.GolangAppExecutableResource> AddGolangApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string executable, string[]? args = null, string[]? buildTags = null) { throw null; }
14+
1315
public static ApplicationModel.IResourceBuilder<ApplicationModel.GolangAppExecutableResource> AddGolangApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[]? args = null, string[]? buildTags = null) { throw null; }
16+
17+
[System.Obsolete("Use AddGolangApp with buildTags parameter instead. This method will be removed in a future version.")]
18+
public static ApplicationModel.IResourceBuilder<ApplicationModel.GolangAppExecutableResource> AddGolangApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[] args) { throw null; }
1419
}
1520
}
1621

src/CommunityToolkit.Aspire.Hosting.McpInspector/api/CommunityToolkit.Aspire.Hosting.McpInspector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class McpInspectorResourceBuilderExtensions
1212
{
13-
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name, int clientPort = 6274, int serverPort = 6277) { throw null; }
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> AddMcpInspector(this IDistributedApplicationBuilder builder, string name, int clientPort = 6274, int serverPort = 6277, string inspectorVersion = "0.16.2") { throw null; }
1414

1515
public static ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> WithMcpServer<TResource>(this ApplicationModel.IResourceBuilder<ApplicationModel.McpInspectorResource> builder, ApplicationModel.IResourceBuilder<TResource> mcpServer, bool isDefault = true, McpTransportType transportType = McpTransportType.StreamableHttp)
1616
where TResource : ApplicationModel.IResourceWithEndpoints { throw null; }
@@ -28,7 +28,7 @@ namespace Aspire.Hosting.ApplicationModel
2828
public partial class McpInspectorResource : ExecutableResource
2929
{
3030
public const string ClientEndpointName = "client";
31-
public const string InspectorVersion = "0.15.0";
31+
public const string InspectorVersion = "0.16.2";
3232
public const string ServerProxyEndpointName = "server-proxy";
3333
public McpInspectorResource(string name) : base(default!, default!, default!) { }
3434

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
namespace Aspire.Hosting
10+
{
11+
public static partial class SurrealDbBuilderExtensions
12+
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbDatabaseResource> AddDatabase(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbNamespaceResource> builder, string name, string? databaseName = null) { throw null; }
14+
15+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbNamespaceResource> AddNamespace(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> builder, string name, string? namespaceName = null) { throw null; }
16+
17+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> AddSurrealServer(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? userName = null, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource>? password = null, int? port = null, string path = "memory", bool strictMode = false) { throw null; }
18+
19+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> WithDataBindMount(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> builder, string source) { throw null; }
20+
21+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> WithDataVolume(this ApplicationModel.IResourceBuilder<ApplicationModel.SurrealDbServerResource> builder, string? name = null) { throw null; }
22+
23+
public static ApplicationModel.IResourceBuilder<T> WithSurrealist<T>(this ApplicationModel.IResourceBuilder<T> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.SurrealistContainerResource>>? configureContainer = null, string? containerName = null)
24+
where T : ApplicationModel.SurrealDbServerResource { throw null; }
25+
}
26+
}
27+
28+
namespace Aspire.Hosting.ApplicationModel
29+
{
30+
public partial class SurrealDbDatabaseResource : Resource, IResourceWithParent<SurrealDbNamespaceResource>, IResourceWithParent, IResource, IResourceWithConnectionString, IManifestExpressionProvider, IValueProvider, IValueWithReferences
31+
{
32+
public SurrealDbDatabaseResource(string name, string databaseName, SurrealDbNamespaceResource parent) : base(default!) { }
33+
34+
public ReferenceExpression ConnectionStringExpression { get { throw null; } }
35+
36+
public string DatabaseName { get { throw null; } }
37+
38+
public SurrealDbNamespaceResource Parent { get { throw null; } }
39+
}
40+
41+
public partial class SurrealDbNamespaceResource : Resource, IResourceWithParent<SurrealDbServerResource>, IResourceWithParent, IResource, IResourceWithConnectionString, IManifestExpressionProvider, IValueProvider, IValueWithReferences
42+
{
43+
public SurrealDbNamespaceResource(string name, string namespaceName, SurrealDbServerResource parent) : base(default!) { }
44+
45+
public ReferenceExpression ConnectionStringExpression { get { throw null; } }
46+
47+
public System.Collections.Generic.IReadOnlyDictionary<string, string> Databases { get { throw null; } }
48+
49+
public string NamespaceName { get { throw null; } }
50+
51+
public SurrealDbServerResource Parent { get { throw null; } }
52+
}
53+
54+
public partial class SurrealDbServerResource : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
55+
{
56+
public SurrealDbServerResource(string name, ParameterResource? userName, ParameterResource password) : base(default!, default) { }
57+
58+
public ReferenceExpression ConnectionStringExpression { get { throw null; } }
59+
60+
public System.Collections.Generic.IReadOnlyDictionary<string, string> Namespaces { get { throw null; } }
61+
62+
public ParameterResource PasswordParameter { get { throw null; } }
63+
64+
public EndpointReference PrimaryEndpoint { get { throw null; } }
65+
66+
public ParameterResource? UserNameParameter { get { throw null; } }
67+
68+
public System.Threading.Tasks.ValueTask<string?> GetConnectionStringAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; }
69+
}
70+
71+
public sealed partial class SurrealistContainerResource : ContainerResource
72+
{
73+
public SurrealistContainerResource(string name) : base(default!, default) { }
74+
}
75+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
namespace CommunityToolkit.Aspire.SurrealDb
10+
{
11+
public sealed partial class SurrealDbClientSettings
12+
{
13+
public bool DisableHealthChecks { get { throw null; } set { } }
14+
15+
public int? HealthCheckTimeout { get { throw null; } set { } }
16+
17+
public Microsoft.Extensions.DependencyInjection.ServiceLifetime Lifetime { get { throw null; } set { } }
18+
19+
public Microsoft.Extensions.DependencyInjection.SurrealDbOptions? Options { get { throw null; } set { } }
20+
}
21+
}
22+
23+
namespace Microsoft.Extensions.Hosting
24+
{
25+
public static partial class AspireSurrealDbExtensions
26+
{
27+
public static void AddKeyedSurrealClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.SurrealDb.SurrealDbClientSettings>? configureSettings = null) { }
28+
29+
public static void AddSurrealClient(this IHostApplicationBuilder builder, string connectionName, System.Action<CommunityToolkit.Aspire.SurrealDb.SurrealDbClientSettings>? configureSettings = null) { }
30+
}
31+
}

0 commit comments

Comments
 (0)