1 instantiation of ComposeFile
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
71
var composeFile = new
ComposeFile
();
16 references to ComposeFile
Aspire.Hosting.Docker (16)
DockerComposeEnvironmentExtensions.cs (2)
71
/// <param name="configure">A method that can be used for customizing the <see cref="
ComposeFile
"/>.</param>
73
public static IResourceBuilder<DockerComposeEnvironmentResource> ConfigureComposeFile(this IResourceBuilder<DockerComposeEnvironmentResource> builder, Action<
ComposeFile
> configure)
DockerComposeEnvironmentResource.cs (1)
42
internal Action<
ComposeFile
>? ConfigureComposeFile { get; set; }
DockerComposePublishingContext.cs (3)
71
var
composeFile = new ComposeFile();
148
private void HandleComposeFileConfig(
ComposeFile
composeFile, Service composeService, ContainerFileSystemItem? item, int? uid, int? gid, UnixFileMode umask, string path)
206
private static void HandleComposeFileVolumes(DockerComposeServiceResource serviceResource,
ComposeFile
composeFile)
Resources\ComposeFile.cs (10)
113
/// <returns>The updated <see cref="
ComposeFile
"/> instance with the added network.</returns>
114
public
ComposeFile
AddNetwork(Network network)
124
/// <returns>The updated <see cref="
ComposeFile
"/> instance containing the added service.</returns>
125
public
ComposeFile
AddService(Service service)
135
/// <returns>The updated <see cref="
ComposeFile
"/> instance with the added volume.</returns>
136
public
ComposeFile
AddVolume(Volume volume)
146
/// <returns>The updated <see cref="
ComposeFile
"/> instance with the added config.</returns>
147
public
ComposeFile
AddConfig(Config config)
154
/// Converts the current instance of <see cref="
ComposeFile
"/> to its YAML string representation.
157
/// <returns>A string containing the YAML representation of the <see cref="
ComposeFile
"/> instance.</returns>