14 writes to IsInstalled
Aspire.Hosting (5)
src\Shared\ContainerRuntimeDetector.cs (5)
159
IsInstalled
= false,
180
IsInstalled
= true,
198
IsInstalled
= true,
225
IsInstalled
= isInstalled,
240
IsInstalled
= false,
Aspire.Hosting.Tests (9)
Publishing\ContainerRuntimeDetectorTests.cs (9)
15
new ContainerRuntimeInfo { Executable = "docker", Name = "Docker",
IsInstalled
= true, IsRunning = false, IsDefault = true },
16
new ContainerRuntimeInfo { Executable = "podman", Name = "Podman",
IsInstalled
= true, IsRunning = true, IsDefault = false }
29
new ContainerRuntimeInfo { Executable = "docker", Name = "Docker",
IsInstalled
= false, IsRunning = false, IsDefault = true },
30
new ContainerRuntimeInfo { Executable = "podman", Name = "Podman",
IsInstalled
= true, IsRunning = false, IsDefault = false }
43
new ContainerRuntimeInfo { Executable = "docker", Name = "Docker",
IsInstalled
= true, IsRunning = true, IsDefault = true },
44
new ContainerRuntimeInfo { Executable = "podman", Name = "Podman",
IsInstalled
= true, IsRunning = true, IsDefault = false }
65
new ContainerRuntimeInfo { Executable = "podman", Name = "Podman",
IsInstalled
= true, IsRunning = true, IsDefault = false }
78
new ContainerRuntimeInfo { Executable = "docker", Name = "Docker",
IsInstalled
= false, IsRunning = false, IsDefault = true },
79
new ContainerRuntimeInfo { Executable = "podman", Name = "Podman",
IsInstalled
= false, IsRunning = false, IsDefault = false }
8 references to IsInstalled
Aspire.Hosting (7)
Publishing\ContainerRuntimeResolver.cs (1)
85
else if (detected is {
IsInstalled
: true })
src\Shared\ContainerRuntimeDetector.cs (6)
80
public bool IsHealthy =>
IsInstalled
&& IsRunning;
108
/// When a runtime is configured but not available, returns its info with <see cref="ContainerRuntimeInfo.
IsInstalled
"/> = false.
303
if (!best.
IsInstalled
&& candidate.
IsInstalled
)
312
&& candidate.
IsInstalled
== best.
IsInstalled
Aspire.Hosting.TestUtilities (1)
Utils\DockerUtils.cs (1)
54
if (detected is not {
IsInstalled
: true })