Implemented interface member:
property
Name
Aspire.Hosting.Publishing.IContainerRuntime.Name
3 overrides of Name
Aspire.Hosting (2)
Publishing\DockerContainerRuntime.cs (1)
21public override string Name => "Docker";
Publishing\PodmanContainerRuntime.cs (1)
23public override string Name => "Podman";
Aspire.Hosting.Tests (1)
Publishing\ContainerRuntimeBaseTests.cs (1)
352public override string Name => "test-runtime";
19 references to Name
Aspire.Hosting (19)
Publishing\ContainerRuntimeBase.cs (19)
59$"{Name} tag for {{LocalImageName}} -> {{TargetImageName}} failed with exit code {{ExitCode}}.", 60$"{Name} tag for {{LocalImageName}} -> {{TargetImageName}} succeeded.", 61$"{Name} tag failed with exit code {{0}}.", 72$"{Name} rmi for {{ImageName}} failed with exit code {{ExitCode}}.", 73$"{Name} rmi for {{ImageName}} succeeded.", 74$"{Name} rmi failed with exit code {{0}}.", 93$"{Name} push for {{ImageName}} failed with exit code {{ExitCode}}.", 94$"{Name} push for {{ImageName}} succeeded.", 95$"{Name} push failed with exit code {{0}}.", 361_logger.LogError("{RuntimeName} login to {RegistryServer} failed with exit code {ExitCode}.", Name, registryServer, processResult.ExitCode); 363var message = $"{Name} login failed with exit code {processResult.ExitCode}."; 372_logger.LogInformation("{RuntimeName} login to {RegistryServer} succeeded.", Name, registryServer); 395_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 527_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 587_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.ArgumentList ?? (object?)spec.Arguments); 600_logger.LogError("{RuntimeName} {OperationName} for {ImageName} failed with exit code {ExitCode}.", Name, operationName, imageName, processResult.ExitCode); 601throw new DistributedApplicationException($"{Name} {operationName} for '{imageName}' failed with exit code {processResult.ExitCode}.{Environment.NewLine}{processResult.GetFormattedOutput()}"); 604_logger.LogDebug("{RuntimeName} {OperationName} for {ImageName} succeeded.", Name, operationName, imageName); 921$"Install {Name} or set ASPIRE_CONTAINER_RUNTIME to a different runtime (e.g., 'docker' or 'podman').");