Skip to content

Commit 20eacc8

Browse files
authored
Merge pull request #1095 from CommunityToolkit/update-api-diffs
[Automated] Update API Surface Area
2 parents 2afcadd + 8641073 commit 20eacc8

File tree

6 files changed

+212
-3
lines changed

6 files changed

+212
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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 ElasticvueBuilderExtensions
12+
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.ElasticsearchResource> WithElasticvue(this ApplicationModel.IResourceBuilder<ApplicationModel.ElasticsearchResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.ElasticvueContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
14+
15+
public static ApplicationModel.IResourceBuilder<ApplicationModel.ElasticvueContainerResource> WithHostPort(this ApplicationModel.IResourceBuilder<ApplicationModel.ElasticvueContainerResource> builder, int? port) { throw null; }
16+
}
17+
}
18+
19+
namespace Aspire.Hosting.ApplicationModel
20+
{
21+
public sealed partial class ElasticvueContainerResource : ContainerResource
22+
{
23+
public ElasticvueContainerResource(string name) : base(default!, default) { }
24+
25+
public EndpointReference PrimaryEndpoint { get { throw null; } }
26+
}
27+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 DistributedApplicationBuilderExtensions
12+
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> AddFlyway(this IDistributedApplicationBuilder builder, string name, string migrationScriptsPath) { throw null; }
14+
15+
public sealed partial class <G>$2768207B2D58D0758B760BF9865B3152
16+
{
17+
internal <G>$2768207B2D58D0758B760BF9865B3152() { }
18+
19+
[System.Runtime.CompilerServices.ExtensionMarker("<M>$7E82668A53676F97137EF4F844E46C25")]
20+
public ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> AddFlyway(string name, string migrationScriptsPath) { throw null; }
21+
22+
public static partial class <M>$7E82668A53676F97137EF4F844E46C25
23+
{
24+
[System.Runtime.CompilerServices.CompilerGenerated]
25+
public static void <Extension>$(IDistributedApplicationBuilder builder) { }
26+
}
27+
}
28+
}
29+
}
30+
31+
namespace Aspire.Hosting.ApplicationModel
32+
{
33+
public sealed partial class FlywayResource : ContainerResource
34+
{
35+
public FlywayResource(string name) : base(default!, default) { }
36+
}
37+
38+
public sealed partial record FlywayResourceConfiguration()
39+
{
40+
public required string MigrationScriptsPath { get { throw null; } init { } }
41+
}
42+
}
43+
44+
namespace CommunityToolkit.Aspire.Hosting.Flyway
45+
{
46+
public static partial class FlywayResourceBuilderExtensions
47+
{
48+
public static global::Aspire.Hosting.ApplicationModel.IResourceBuilder<global::Aspire.Hosting.ApplicationModel.FlywayResource> WithTelemetryOptIn(this global::Aspire.Hosting.ApplicationModel.IResourceBuilder<global::Aspire.Hosting.ApplicationModel.FlywayResource> builder) { throw null; }
49+
50+
public sealed partial class <G>$3630027837079DBDB4C7B2F0326D1811
51+
{
52+
internal <G>$3630027837079DBDB4C7B2F0326D1811() { }
53+
54+
[System.Runtime.CompilerServices.ExtensionMarker("<M>$3C0C55E6ADDC766E6566DD2928E738EF")]
55+
public global::Aspire.Hosting.ApplicationModel.IResourceBuilder<global::Aspire.Hosting.ApplicationModel.FlywayResource> WithTelemetryOptIn() { throw null; }
56+
57+
public static partial class <M>$3C0C55E6ADDC766E6566DD2928E738EF
58+
{
59+
[System.Runtime.CompilerServices.CompilerGenerated]
60+
public static void <Extension>$(global::Aspire.Hosting.ApplicationModel.IResourceBuilder<global::Aspire.Hosting.ApplicationModel.FlywayResource> builder) { }
61+
}
62+
}
63+
}
64+
}

src/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions/api/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,28 @@ public static partial class PostgresBuilderExtensions
1414

1515
public static ApplicationModel.IResourceBuilder<ApplicationModel.PostgresServerResource> WithDbGate(this ApplicationModel.IResourceBuilder<ApplicationModel.PostgresServerResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.DbGateContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
1616
}
17+
18+
public static partial class PostgresDatabaseResourceBuilderExtensions
19+
{
20+
public static ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> WithFlywayMigration(this ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> flywayResourceBuilder) { throw null; }
21+
22+
public static ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> WithFlywayRepair(this ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> flywayResourceBuilder) { throw null; }
23+
24+
public sealed partial class <G>$AA8667B1135AA5AD8A3F1D9C715BEAB5
25+
{
26+
internal <G>$AA8667B1135AA5AD8A3F1D9C715BEAB5() { }
27+
28+
[System.Runtime.CompilerServices.ExtensionMarker("<M>$FAAD81E80F530CA95E6E899142B58B46")]
29+
public ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> WithFlywayMigration(ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> flywayResourceBuilder) { throw null; }
30+
31+
[System.Runtime.CompilerServices.ExtensionMarker("<M>$FAAD81E80F530CA95E6E899142B58B46")]
32+
public ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> WithFlywayRepair(ApplicationModel.IResourceBuilder<ApplicationModel.FlywayResource> flywayResourceBuilder) { throw null; }
33+
34+
public static partial class <M>$FAAD81E80F530CA95E6E899142B58B46
35+
{
36+
[System.Runtime.CompilerServices.CompilerGenerated]
37+
public static void <Extension>$(ApplicationModel.IResourceBuilder<ApplicationModel.PostgresDatabaseResource> builder) { }
38+
}
39+
}
40+
}
1741
}

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class RavenDBBuilderExtensions
1212
{
13-
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBDatabaseResource> AddDatabase(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string name, string? databaseName = null) { throw null; }
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBDatabaseResource> AddDatabase(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string name, string? databaseName = null, bool ensureCreated = false) { throw null; }
1414

1515
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> AddRavenDB(this IDistributedApplicationBuilder builder, string name, CommunityToolkit.Aspire.Hosting.RavenDB.RavenDBServerSettings serverSettings) { throw null; }
1616

@@ -21,6 +21,10 @@ public static partial class RavenDBBuilderExtensions
2121
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> WithDataBindMount(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string source, bool isReadOnly = false) { throw null; }
2222

2323
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> WithDataVolume(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string? name = null, bool isReadOnly = false) { throw null; }
24+
25+
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> WithLogBindMount(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string source, bool isReadOnly = false) { throw null; }
26+
27+
public static ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> WithLogVolume(this ApplicationModel.IResourceBuilder<ApplicationModel.RavenDBServerResource> builder, string? name = null, bool isReadOnly = false) { throw null; }
2428
}
2529
}
2630

@@ -80,6 +84,8 @@ public RavenDBSecuredServerSettings(string certificatePath, string? certificateP
8084

8185
public string CertificatePath { get { throw null; } }
8286

87+
public System.Security.Cryptography.X509Certificates.X509Certificate2? ClientCertificate { get { throw null; } init { } }
88+
8389
public string PublicServerUrl { get { throw null; } }
8490
}
8591

@@ -89,13 +95,17 @@ protected RavenDBServerSettings() { }
8995

9096
public LicensingOptions? LicensingOptions { get { throw null; } }
9197

98+
public int? Port { get { throw null; } set { } }
99+
92100
public string? ServerUrl { get { throw null; } set { } }
93101

94102
public SetupMode SetupMode { get { throw null; } }
95103

96-
public static RavenDBServerSettings Secured(string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null) { throw null; }
104+
public int? TcpPort { get { throw null; } set { } }
105+
106+
public static RavenDBServerSettings Secured(string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null, System.Security.Cryptography.X509Certificates.X509Certificate2? clientCertificate = null) { throw null; }
97107

98-
public static RavenDBServerSettings SecuredWithLetsEncrypt(string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null) { throw null; }
108+
public static RavenDBServerSettings SecuredWithLetsEncrypt(string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null, System.Security.Cryptography.X509Certificates.X509Certificate2? clientCertificate = null) { throw null; }
99109

100110
public static RavenDBServerSettings Unsecured() { throw null; }
101111

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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 enum KeyType
12+
{
13+
Ed25519 = 0,
14+
Rsa = 1
15+
}
16+
17+
public static partial class SftpHostingExtensions
18+
{
19+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> AddSftp(this IDistributedApplicationBuilder builder, string name, int? port = null) { throw null; }
20+
21+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> WithHostKeyFile(this ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> builder, string keyFile, KeyType keyType) { throw null; }
22+
23+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> WithUserKeyFile(this ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> builder, string username, string keyFile, KeyType keyType) { throw null; }
24+
25+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> WithUsersFile(this ApplicationModel.IResourceBuilder<ApplicationModel.SftpContainerResource> builder, string usersFile) { throw null; }
26+
}
27+
}
28+
29+
namespace Aspire.Hosting.ApplicationModel
30+
{
31+
public partial class SftpContainerResource : ContainerResource, IResourceWithConnectionString, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
32+
{
33+
public SftpContainerResource(string name) : base(default!, default) { }
34+
35+
public ReferenceExpression ConnectionStringExpression { get { throw null; } }
36+
37+
public EndpointReferenceExpression Host { get { throw null; } }
38+
39+
public EndpointReferenceExpression Port { get { throw null; } }
40+
41+
public ReferenceExpression UriExpression { get { throw null; } }
42+
43+
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, ReferenceExpression>> IResourceWithConnectionString.GetConnectionProperties() { throw null; }
44+
}
45+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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.Sftp
10+
{
11+
public sealed partial class SftpSettings
12+
{
13+
public string? ConnectionString { get { throw null; } set { } }
14+
15+
public bool DisableHealthChecks { get { throw null; } set { } }
16+
17+
public bool DisableTracing { get { throw null; } set { } }
18+
19+
public System.TimeSpan? HealthCheckTimeout { get { throw null; } set { } }
20+
21+
public string? Password { get { throw null; } set { } }
22+
23+
public string? PrivateKeyFile { get { throw null; } set { } }
24+
25+
public string PrivateKeyPassphrase { get { throw null; } set { } }
26+
27+
public string? Username { get { throw null; } set { } }
28+
}
29+
}
30+
31+
namespace Microsoft.Extensions.Hosting
32+
{
33+
public static partial class AspireSftpExtensions
34+
{
35+
public static void AddKeyedSftpClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.Sftp.SftpSettings>? configureSettings = null) { }
36+
37+
public static void AddSftpClient(this IHostApplicationBuilder builder, string connectionName, System.Action<CommunityToolkit.Aspire.Sftp.SftpSettings>? configureSettings = null) { }
38+
}
39+
}

0 commit comments

Comments
 (0)