Skip to content

Commit 693a650

Browse files
Alirexaagithub-actions[bot]
authored andcommitted
[create-pull-request] automated change
1 parent 8b59e42 commit 693a650

16 files changed

Lines changed: 856 additions & 1 deletion

File tree

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.Bitwarden.SecretManager
10+
{
11+
public sealed partial class BitwardenSecretManagerClientSettings
12+
{
13+
public string AccessToken { get { throw null; } set { } }
14+
15+
public string ApiUrl { get { throw null; } set { } }
16+
17+
public string? AuthCacheDirectory { get { throw null; } set { } }
18+
19+
public bool DisableHealthChecks { get { throw null; } set { } }
20+
21+
public System.TimeSpan? HealthCheckTimeout { get { throw null; } set { } }
22+
23+
public string IdentityUrl { get { throw null; } set { } }
24+
25+
public System.Guid OrganizationId { get { throw null; } set { } }
26+
27+
public System.Guid ProjectId { get { throw null; } set { } }
28+
}
29+
}
30+
31+
namespace Microsoft.Extensions.Hosting
32+
{
33+
public static partial class AspireBitwardenSecretManagerExtensions
34+
{
35+
public static void AddBitwardenSecretManagerClient(this IHostApplicationBuilder builder, string connectionName, System.Action<CommunityToolkit.Aspire.Bitwarden.SecretManager.BitwardenSecretManagerClientSettings>? configureSettings = null) { }
36+
37+
public static void AddKeyedBitwardenSecretManagerClient(this IHostApplicationBuilder builder, string name, System.Action<CommunityToolkit.Aspire.Bitwarden.SecretManager.BitwardenSecretManagerClientSettings>? configureSettings = null) { }
38+
}
39+
}
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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 BitwardenSecretManagerExtensions
12+
{
13+
[AspireExport]
14+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> AddBitwardenSecretManager(this IDistributedApplicationBuilder builder, string name, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> projectNameOrId, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> organizationId, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> accessToken) { throw null; }
15+
16+
[AspireExport("addSecretWithRemoteName")]
17+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> AddSecret(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string name, string remoteName) { throw null; }
18+
19+
[AspireExport]
20+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> AddSecret(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string name) { throw null; }
21+
22+
[AspireExport]
23+
public static ApplicationModel.IExpressionValue AsSecretId(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> secret) { throw null; }
24+
25+
[AspireExport("getSecretById")]
26+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> GetSecret(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string name, System.Guid secretId) { throw null; }
27+
28+
[AspireExport("getSecretWithRemoteName")]
29+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> GetSecret(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string name, string remoteName) { throw null; }
30+
31+
[AspireExport]
32+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretResource> GetSecret(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string name) { throw null; }
33+
34+
[AspireExportIgnore(Reason = "EndpointReference is not ATS-compatible; polyglot apphosts use the string variant")]
35+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithApiUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.EndpointReference endpoint) { throw null; }
36+
37+
[AspireExport("withApiUrlFromParameter")]
38+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithApiUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> apiUrl) { throw null; }
39+
40+
[AspireExport("withApiUrlFromExternalService")]
41+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithApiUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.IResourceBuilder<ExternalServiceResource> server) { throw null; }
42+
43+
[AspireExport]
44+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithApiUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string apiUrl) { throw null; }
45+
46+
[AspireExport]
47+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithAuthCacheDirectory(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string authCacheDirectory) { throw null; }
48+
49+
[AspireExport("withBitwardenReferenceAccessToken")]
50+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAccessToken<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> source, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> accessToken)
51+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
52+
53+
[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")]
54+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAccessToken<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, string connectionName, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> accessToken)
55+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
56+
57+
[AspireExport("withBitwardenReferenceAuthCacheDirectoryFromParameter")]
58+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheDirectory<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> source, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> authCacheDirectory)
59+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
60+
61+
[AspireExport("withBitwardenReferenceAuthCacheDirectory")]
62+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheDirectory<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> source, string authCacheDirectory)
63+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
64+
65+
[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")]
66+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheDirectory<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, string connectionName, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> authCacheDirectory)
67+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
68+
69+
[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")]
70+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheDirectory<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, string connectionName, string authCacheDirectory)
71+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
72+
73+
[AspireExport("withBitwardenReferenceAuthCacheVolume")]
74+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheVolume<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> source, string? volumeName = null, string containerDirectory = "/var/lib/bitwarden")
75+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
76+
77+
[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")]
78+
public static ApplicationModel.IResourceBuilder<TDestination> WithBitwardenAuthCacheVolume<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, string connectionName, string? volumeName = null, string containerDirectory = "/var/lib/bitwarden")
79+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
80+
81+
[AspireExport]
82+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithCacheFile(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string cacheFile) { throw null; }
83+
84+
[AspireExportIgnore(Reason = "EndpointReference is not ATS-compatible; polyglot apphosts use the string variant")]
85+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithIdentityUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.EndpointReference endpoint) { throw null; }
86+
87+
[AspireExport("withIdentityUrlFromParameter")]
88+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithIdentityUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.ParameterResource> identityUrl) { throw null; }
89+
90+
[AspireExport("withIdentityUrlFromExternalService")]
91+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithIdentityUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, ApplicationModel.IResourceBuilder<ExternalServiceResource> server) { throw null; }
92+
93+
[AspireExport]
94+
public static ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> WithIdentityUrl(this ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> builder, string identityUrl) { throw null; }
95+
96+
[AspireExport("withBitwardenSecretManagerReference")]
97+
public static ApplicationModel.IResourceBuilder<TDestination> WithReference<TDestination>(this ApplicationModel.IResourceBuilder<TDestination> builder, ApplicationModel.IResourceBuilder<ApplicationModel.BitwardenSecretManagerResource> source, string? connectionName = null)
98+
where TDestination : ApplicationModel.IResourceWithEnvironment { throw null; }
99+
}
100+
}
101+
102+
namespace Aspire.Hosting.ApplicationModel
103+
{
104+
[AspireExport]
105+
public partial class BitwardenSecretManagerResource : Resource, IResourceWithWaitSupport, IResource
106+
{
107+
public BitwardenSecretManagerResource(string name, ParameterResource projectNameOrIdParameter, ParameterResource organizationIdParameter, ParameterResource managementAccessToken, string appHostDirectory) : base(default!) { }
108+
109+
public string? AuthCacheDirectory { get { throw null; } }
110+
111+
public string? CacheFile { get { throw null; } }
112+
113+
public System.Guid? ExistingProjectId { get { throw null; } }
114+
115+
public System.Guid? ProjectId { get { throw null; } }
116+
}
117+
118+
[AspireExport]
119+
public partial class BitwardenSecretResource : ParameterResource, IResourceWithParent<BitwardenSecretManagerResource>, IResourceWithParent, IResource, IManifestExpressionProvider, IValueProvider, IValueWithReferences
120+
{
121+
public BitwardenSecretResource(string name, string remoteName, BitwardenSecretManagerResource parent, System.Func<ParameterDefault?, string> valueGetter) : base(default!, default!, default) { }
122+
123+
string IManifestExpressionProvider.ValueExpression { get { throw null; } }
124+
125+
System.Collections.Generic.IEnumerable<object> IValueWithReferences.References { get { throw null; } }
126+
127+
public bool IsManaged { get { throw null; } }
128+
129+
public BitwardenSecretManagerResource Parent { get { throw null; } }
130+
131+
public string RemoteName { get { throw null; } }
132+
133+
public System.Guid? ResolvedSecretId { get { throw null; } }
134+
135+
public System.Guid? SecretId { get { throw null; } }
136+
137+
System.Threading.Tasks.ValueTask<string?> IValueProvider.GetValueAsync(ValueProviderContext context, System.Threading.CancellationToken cancellationToken) { throw null; }
138+
139+
System.Threading.Tasks.ValueTask<string?> IValueProvider.GetValueAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
140+
}
141+
}

0 commit comments

Comments
 (0)