4 writes to DockerfileFactory
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
747DockerfileFactory = dockerfileFactory
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (3)
107DockerfileFactory = _ => Task.FromResult(expectedContent) 143DockerfileFactory = _ => 183DockerfileFactory = 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)
378if (annotation.DockerfileFactory is not null)
Publishing\ResourceContainerImageManager.cs (1)
424if (dockerfileBuildAnnotation.DockerfileFactory is not null)
Utils\DockerfileHelper.cs (1)
26if (annotation.DockerfileFactory is not null)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
342dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
771Assert.NotNull(annotation.DockerfileFactory); 799var generatedContent = await annotation.DockerfileFactory(context); 822Assert.NotNull(annotation.DockerfileFactory); 831var generatedContent = await annotation.DockerfileFactory(context); 873Assert.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)
72Assert.NotNull(buildAnnotation.DockerfileFactory); 93Assert.NotNull(buildAnnotation.DockerfileFactory); 103var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 154var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 190var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 224var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 265var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 335Assert.NotNull(buildAnnotation.DockerfileFactory); 345var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 371Assert.NotNull(buildAnnotation.DockerfileFactory); 381var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 407Assert.NotNull(buildAnnotation.DockerfileFactory); 446var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext);
Aspire.Hosting.Yarp.Tests (11)
AddYarpTests.cs (11)
192Assert.NotNull(annotation.DockerfileFactory); 205Assert.NotNull(annotation.DockerfileFactory); 214var dockerfile = await annotation.DockerfileFactory(context); 283Assert.NotNull(buildAnnotation.DockerfileFactory); 294var dockerfile = await buildAnnotation.DockerfileFactory(context); 313Assert.NotNull(buildAnnotation.DockerfileFactory); 325var dockerfile = await buildAnnotation.DockerfileFactory(context); 346Assert.NotNull(buildAnnotation.DockerfileFactory); 357var dockerfile = await buildAnnotation.DockerfileFactory(context); 384Assert.NotNull(buildAnnotation.DockerfileFactory); 395var dockerfile = await buildAnnotation.DockerfileFactory(context);