Implemented interface member:
property
Name
Aspire.Hosting.Publishing.IContainerRuntime.Name
3 overrides of Name
Aspire.Hosting (2)
Publishing\DockerContainerRuntime.cs (1)
21
public override string
Name
=> "Docker";
Publishing\PodmanContainerRuntime.cs (1)
23
public override string
Name
=> "Podman";
Aspire.Hosting.Tests (1)
Publishing\ContainerRuntimeBaseTests.cs (1)
352
public 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);
363
var 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);
601
throw 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').");