3 implementations of Name
Aspire.Hosting (1)
Publishing\ContainerRuntimeBase.cs (1)
47public abstract string Name { get; }
Aspire.Hosting.Tests (1)
Publishing\ContainerRuntimeBaseTests.cs (1)
390public string Name => "unsupported-inspection";
Aspire.Hosting.TestUtilities (1)
Publishing\FakeContainerRuntime.cs (1)
16public string Name => name;
25 references to Name
Aspire.Hosting (14)
Pipelines\DistributedApplicationPipeline.cs (4)
177$"{containerRuntime.Name} is not running", 178$"Start {containerRuntime.Name} and confirm to continue.", 211$"{containerRuntime.Name} is not running. Start {containerRuntime.Name} and try again.");
Publishing\ResourceContainerImageManager.cs (10)
218logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name); 224logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container images.", containerRuntime.Name); 225throw new InvalidOperationException($"Container runtime '{containerRuntime.Name}' is not running or is unhealthy."); 228logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name); 250logger.LogDebug("Checking {ContainerRuntimeName} health", containerRuntime.Name); 256logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container image.", containerRuntime.Name); 257throw new InvalidOperationException($"Container runtime '{containerRuntime.Name}' is not running or is unhealthy."); 260logger.LogDebug("{ContainerRuntimeName} is healthy", containerRuntime.Name); 439if (string.Equals(containerRuntime.Name, KnownContainerRuntimes.Docker, StringComparison.OrdinalIgnoreCase)) 444if (string.Equals(containerRuntime.Name, KnownContainerRuntimes.Podman, StringComparison.OrdinalIgnoreCase))
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxContainerDeployment.cs (2)
977$"Container runtime '{runtime.Name}' does not support image manifest inspection, which is required for Azure sandbox deployment."); 1077$"Container runtime '{runtime.Name}' does not support image configuration inspection, which is required for Azure sandbox deployment.");
Aspire.Hosting.Docker (8)
DockerComposeEnvironmentResource.cs (8)
175new MarkdownString($"Running compose down for **{Name}** using **{runtime.Name}**"), 181new MarkdownString($"Compose shutdown complete for **{Name}** ({runtime.Name})"), 414new MarkdownString($"Running compose up for **{Name}** using **{runtime.Name}**"), 433new MarkdownString($"Service **{Name}** is now running with Docker Compose locally (runtime: {runtime.Name})"), 439await deployTask.CompleteAsync($"Compose deployment failed ({runtime.Name}): {ex.Message}", CompletionState.CompletedWithError, context.CancellationToken).ConfigureAwait(false); 460new MarkdownString($"Running compose down for **{Name}** using **{runtime.Name}**"), 471new MarkdownString($"Compose shutdown complete for **{Name}** ({runtime.Name})"), 477await deployTask.CompleteAsync($"Compose shutdown failed ({runtime.Name}): {ex.Message}", CompletionState.CompletedWithError, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Publishing\ResourceContainerImageManagerTests.cs (1)
1556Assert.Equal($"{containerRuntime.Name} build failed with exit code {ex.ExitCode}.", ex.Message[..newlineIndex]);