4 writes to DockerfileFactory
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
720DockerfileFactory = dockerfileFactory
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (3)
106DockerfileFactory = _ => Task.FromResult(expectedContent) 142DockerfileFactory = _ => 182DockerfileFactory = async _ =>
37 references to DockerfileFactory
Aspire.Hosting (5)
ApplicationModel\DockerfileBuildAnnotation.cs (2)
78if (DockerfileFactory is null) 98var dockerfileContent = await DockerfileFactory(context).ConfigureAwait(false);
Publishing\ManifestPublishingContext.cs (1)
375if (annotation.DockerfileFactory is not null)
Publishing\ResourceContainerImageManager.cs (1)
385if (dockerfileBuildAnnotation.DockerfileFactory is not null)
Utils\DockerfileHelper.cs (1)
26if (annotation.DockerfileFactory is not null)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
316dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
777Assert.NotNull(annotation.DockerfileFactory); 805var generatedContent = await annotation.DockerfileFactory(context); 828Assert.NotNull(annotation.DockerfileFactory); 837var generatedContent = await annotation.DockerfileFactory(context); 879Assert.NotNull(annotation.DockerfileFactory);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
87dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
75dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Tests (13)
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (13)
71Assert.NotNull(buildAnnotation.DockerfileFactory); 92Assert.NotNull(buildAnnotation.DockerfileFactory); 102var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 153var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 189var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 223var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 264var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 334Assert.NotNull(buildAnnotation.DockerfileFactory); 344var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 370Assert.NotNull(buildAnnotation.DockerfileFactory); 380var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 406Assert.NotNull(buildAnnotation.DockerfileFactory); 445var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext);
Aspire.Hosting.Yarp.Tests (11)
AddYarpTests.cs (11)
191Assert.NotNull(annotation.DockerfileFactory); 204Assert.NotNull(annotation.DockerfileFactory); 213var dockerfile = await annotation.DockerfileFactory(context); 282Assert.NotNull(buildAnnotation.DockerfileFactory); 293var dockerfile = await buildAnnotation.DockerfileFactory(context); 312Assert.NotNull(buildAnnotation.DockerfileFactory); 324var dockerfile = await buildAnnotation.DockerfileFactory(context); 345Assert.NotNull(buildAnnotation.DockerfileFactory); 356var dockerfile = await buildAnnotation.DockerfileFactory(context); 383Assert.NotNull(buildAnnotation.DockerfileFactory); 394var dockerfile = await buildAnnotation.DockerfileFactory(context);