|
8 | 8 | //------------------------------------------------------------------------------
|
9 | 9 | namespace Aspire.Hosting
|
10 | 10 | {
|
| 11 | + public static partial class DockerComposeEnvironmentExtensions |
| 12 | + { |
| 13 | + public static ApplicationModel.IResourceBuilder<Docker.DockerComposeEnvironmentResource> AddDockerComposeEnvironment(this IDistributedApplicationBuilder builder, string name) { throw null; } |
| 14 | + } |
| 15 | + |
11 | 16 | public static partial class DockerComposePublisherExtensions
|
12 | 17 | {
|
13 | 18 | public static IDistributedApplicationBuilder AddDockerComposePublisher(this IDistributedApplicationBuilder builder, System.Action<Docker.DockerComposePublisherOptions>? configureOptions = null) { throw null; }
|
14 | 19 |
|
15 | 20 | public static IDistributedApplicationBuilder AddDockerComposePublisher(this IDistributedApplicationBuilder builder, string name, System.Action<Docker.DockerComposePublisherOptions>? configureOptions = null) { throw null; }
|
16 | 21 | }
|
| 22 | + |
| 23 | + public static partial class DockerComposeServiceExtensions |
| 24 | + { |
| 25 | + public static ApplicationModel.IResourceBuilder<T> PublishAsDockerComposeService<T>(this ApplicationModel.IResourceBuilder<T> builder, System.Action<Docker.DockerComposeServiceResource, Docker.Resources.ComposeNodes.Service> configure) |
| 26 | + where T : ApplicationModel.IComputeResource { throw null; } |
| 27 | + } |
17 | 28 | }
|
18 | 29 |
|
19 | 30 | namespace Aspire.Hosting.Docker
|
20 | 31 | {
|
| 32 | + public partial class DockerComposeEnvironmentResource : ApplicationModel.Resource, ApplicationModel.IComputeEnvironmentResource, ApplicationModel.IResource |
| 33 | + { |
| 34 | + public DockerComposeEnvironmentResource(string name) : base(default!) { } |
| 35 | + } |
| 36 | + |
21 | 37 | public sealed partial class DockerComposePublisherOptions : Publishing.PublishingOptions
|
22 | 38 | {
|
| 39 | + public bool BuildImages { get { throw null; } set { } } |
| 40 | + |
23 | 41 | public string? DefaultContainerRegistry { get { throw null; } set { } }
|
24 | 42 |
|
25 | 43 | public string? ExistingNetworkName { get { throw null; } set { } }
|
26 | 44 | }
|
| 45 | + |
| 46 | + public sealed partial class DockerComposeServiceCustomizationAnnotation : ApplicationModel.IResourceAnnotation |
| 47 | + { |
| 48 | + public DockerComposeServiceCustomizationAnnotation(System.Action<DockerComposeServiceResource, Resources.ComposeNodes.Service> configure) { } |
| 49 | + |
| 50 | + public System.Action<DockerComposeServiceResource, Resources.ComposeNodes.Service> Configure { get { throw null; } } |
| 51 | + } |
| 52 | + |
| 53 | + public partial class DockerComposeServiceResource : ApplicationModel.Resource, ApplicationModel.IResourceWithParent<DockerComposeEnvironmentResource>, ApplicationModel.IResourceWithParent, ApplicationModel.IResource |
| 54 | + { |
| 55 | + public DockerComposeServiceResource(string name, ApplicationModel.IResource resource, DockerComposeEnvironmentResource composeEnvironmentResource) : base(default!) { } |
| 56 | + |
| 57 | + public Resources.ComposeNodes.Service ComposeService { get { throw null; } } |
| 58 | + |
| 59 | + public DockerComposeEnvironmentResource Parent { get { throw null; } } |
| 60 | + } |
27 | 61 | }
|
28 | 62 |
|
29 | 63 | namespace Aspire.Hosting.Docker.Resources
|
|
0 commit comments