1 instantiation of ComposeFile
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
72var composeFile = new ComposeFile();
16 references to ComposeFile
Aspire.Hosting.Docker (16)
DockerComposeEnvironmentExtensions.cs (2)
78/// <param name="configure">A method that can be used for customizing the <see cref="ComposeFile"/>.</param> 80public static IResourceBuilder<DockerComposeEnvironmentResource> ConfigureComposeFile(this IResourceBuilder<DockerComposeEnvironmentResource> builder, Action<ComposeFile> configure)
DockerComposeEnvironmentResource.cs (1)
43internal Action<ComposeFile>? ConfigureComposeFile { get; set; }
DockerComposePublishingContext.cs (3)
72var composeFile = new ComposeFile(); 170private void HandleComposeFileConfig(ComposeFile composeFile, Service composeService, ContainerFileSystemItem? item, int? uid, int? gid, UnixFileMode umask, string path) 228private static void HandleComposeFileVolumes(DockerComposeServiceResource serviceResource, ComposeFile composeFile)
Resources\ComposeFile.cs (10)
113/// <returns>The updated <see cref="ComposeFile"/> instance with the added network.</returns> 114public ComposeFile AddNetwork(Network network) 124/// <returns>The updated <see cref="ComposeFile"/> instance containing the added service.</returns> 125public ComposeFile AddService(Service service) 135/// <returns>The updated <see cref="ComposeFile"/> instance with the added volume.</returns> 136public ComposeFile AddVolume(Volume volume) 146/// <returns>The updated <see cref="ComposeFile"/> instance with the added config.</returns> 147public 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>