51 references to ContainerImageDestination
Aspire.Hosting (14)
ApplicationModel\ContainerBuildOptionsCallbackAnnotation.cs (1)
98public ContainerImageDestination? Destination { get; set; }
ApplicationModel\ContainerImageReference.cs (1)
59if (buildOptionsContext.Destination == ContainerImageDestination.Archive)
ApplicationModel\DotnetProgramPublishing.cs (1)
170var exportsArchive = buildResult.Destination == ContainerImageDestination.Archive;
Pipelines\DistributedApplicationPipeline.cs (1)
202if (buildOptionsContext.Destination == ContainerImageDestination.Archive)
Pipelines\PipelineStepHelpers.cs (1)
39if (buildOptionsContext.Destination == ContainerImageDestination.Archive)
Publishing\ResourceContainerImageManager.cs (8)
116public ContainerImageDestination? Destination { get; init; } 182ContainerImageDestination? destination, 197public ContainerImageDestination? Destination { get; } = destination; 266public ContainerImageDestination? Destination { get; set; } 435if (options.Destination == ContainerImageDestination.Archive && 489if (hasContainerFiles && options.Destination == ContainerImageDestination.Archive) 957if (options.Destination == ContainerImageDestination.Archive) 1107if (options.Destination == ContainerImageDestination.Archive)
Publishing\WslcContainerRuntime.cs (1)
59if (options?.Destination == ContainerImageDestination.Archive ||
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxGroupResource.cs (1)
259buildOptions.Destination = ContainerImageDestination.Registry;
Aspire.Hosting.Azure.Tests (4)
AzureSandboxesTests.cs (4)
2378options.Destination = ContainerImageDestination.Archive; 2386options.Destination = ContainerImageDestination.Archive; 2423Assert.Equal(ContainerImageDestination.Registry, buildOptions.Destination); 2439Assert.Equal(ContainerImageDestination.Registry, explicitBuildOptions.Destination);
Aspire.Hosting.Dotnet.Tests (5)
DotnetProjectResourceTests.cs (3)
317context.Destination = ContainerImageDestination.Archive; 404context.Destination = ContainerImageDestination.Archive; 1160context.Destination = ContainerImageDestination.Archive;
WslcDotnetPublishingTests.cs (2)
62options.Destination = ContainerImageDestination.Archive; 133options.Destination = ContainerImageDestination.Archive;
Aspire.Hosting.Tests (27)
DotnetProgramPublishingTests.cs (2)
327context.Destination = ContainerImageDestination.Archive; 385context.Destination = ContainerImageDestination.Archive;
Pipelines\DistributedApplicationPipelineTests.cs (3)
2166ctx.Destination = Aspire.Hosting.Publishing.ContainerImageDestination.Archive; 2191ctx.Destination = Aspire.Hosting.Publishing.ContainerImageDestination.Registry; 2239ctx.Destination = Aspire.Hosting.Publishing.ContainerImageDestination.Archive;
Publishing\DotnetProgramArchiveTests.cs (2)
393context.Destination = ContainerImageDestination.Archive; 450Assert.Equal(ContainerImageDestination.Archive, buildOptions.Destination);
Publishing\PodmanSaveArgumentsTests.cs (1)
104ctx.Destination = ContainerImageDestination.Archive;
Publishing\ResourceContainerImageManagerTests.cs (16)
72context.Destination = ContainerImageDestination.Archive; 116context.Destination = ContainerImageDestination.Archive; 787ctx.Destination = ContainerImageDestination.Archive; 816.WithContainerBuildOptions(context => context.Destination = ContainerImageDestination.Archive); 851ctx.Destination = ContainerImageDestination.Archive; 903context.Destination = ContainerImageDestination.Archive; 944context.Destination = ContainerImageDestination.Archive; 999context.Destination = ContainerImageDestination.Archive; 1010Assert.Equal(ContainerImageDestination.Archive, options.Destination); 1087context.Destination = ContainerImageDestination.Archive; 1130context.Destination = ContainerImageDestination.Archive; 1173context.Destination = ContainerImageDestination.Archive; 1403context.Destination = ContainerImageDestination.Archive; 2089ctx.Destination = ContainerImageDestination.Archive; 2141ctx.Destination = ContainerImageDestination.Registry; 2217ctx.Destination = ContainerImageDestination.Archive;
Publishing\WslcContainerRuntimeTests.cs (3)
130[InlineData(null, null, ContainerImageDestination.Archive)] 132ContainerImageFormat? format, string? outputPath, ContainerImageDestination? destination) 227options.Destination = ContainerImageDestination.Archive;