30 references to FormatString
Microsoft.NET.Build.Containers (30)
AuthHandshakeMessageHandler.cs (4)
239Resource.FormatString(nameof(Strings.InvalidAuthResponse_RelativeOrUnparseableRealm), realm)); 254Resource.FormatString(nameof(Strings.InvalidAuthResponse_DisallowedScheme), realm, realmUri.Scheme)); 272Resource.FormatString(nameof(Strings.InvalidAuthResponse_PrivateIpLiteralRealm), realm, realmHost)); 284Resource.FormatString(nameof(Strings.InvalidAuthResponse_PrivateIpLiteralRealm), realm, realmHost));
ContainerBuilder.cs (8)
83logger.LogError(Resource.FormatString(nameof(Strings.RepositoryNotFound), baseImageName, baseImageTag, baseImageDigest, registry.RegistryName)); 88logger.LogError(Resource.FormatString(nameof(Strings.UnableToAccessRepository), baseImageName, registry.RegistryName)); 138logger.LogError(Resource.FormatString(nameof(s), a)); 228logger.LogError(Resource.FormatString(nameof(Strings.LocalRegistryNotAvailable))); 239logger.LogError(Resource.FormatString(nameof(Strings.UnableToDownloadFromRepository)), sourceImageReference); 244logger.LogError(Resource.FormatString(nameof(Strings.RegistryOutputPushFailed), ex.Message)); 266logger.LogError(Resource.FormatString(nameof(Strings.UnableToDownloadFromRepository)), sourceImageReference); 271logger.LogError(Resource.FormatString(nameof(Strings.RegistryOutputPushFailed), e.Message));
ContentStore.cs (1)
49_ => throw new ArgumentException(Resource.FormatString(nameof(Strings.UnrecognizedMediaType), descriptor.MediaType))
Credentials\CredentialRetrievalException.cs (1)
12Resource.FormatString(nameof(Strings.FailedRetrievingCredentials), registry, innerException.Message),
Exceptions\InvalidAuthResponseException.cs (1)
15: base(Resource.FormatString(nameof(Strings.InvalidRegistryAuthResponse), registry, reason), innerException)
ImageBuilder.cs (1)
244Resource.FormatString(
Layer.cs (1)
207_ => throw new ArgumentException(Resource.FormatString(nameof(Strings.UnrecognizedMediaType), manifestMediaType))
LocalDaemons\DockerCli.cs (7)
79throw new NotImplementedException(Resource.FormatString(Strings.ContainerRuntimeProcessCreationFailed, Commands)); 113throw new NotImplementedException(Resource.FormatString(Strings.ContainerRuntimeProcessCreationFailed, commandPath)); 129throw new DockerLoadException(Resource.FormatString(nameof(Strings.ImageLoadFailed), await loadProcess.StandardError.ReadToEndAsync(cancellationToken).ConfigureAwait(false))); 217throw new DockerLoadException(Resource.FormatString( 228throw new DockerLoadException(Resource.FormatString(nameof(Strings.DockerInfoFailed_Ex), e.Message)); 300throw new ArgumentException(Resource.FormatString(nameof(Strings.UnsupportedMediaTypeForTarball), image.ManifestMediaType)); 353throw new NotImplementedException(Resource.FormatString(
LocalDaemons\KnownLocalRegistryTypes.cs (1)
28Resource.FormatString(
Registry\DefaultBlobUploadOperations.cs (3)
38string errorMessage = Resource.FormatString(nameof(Strings.BlobUploadFailed), $"PUT {putUri}", finalizeResponse.StatusCode); 58string errorMessage = Resource.FormatString(nameof(Strings.BlobUploadFailed), $"POST {startUploadUri}", pushResponse.StatusCode); 118string errorMessage = Resource.FormatString(nameof(Strings.BlobUploadFailed), $"PATCH {uploadUri}", patchResponse.StatusCode);
Registry\DefaultManifestOperations.cs (1)
51throw new ContainerHttpException(Resource.FormatString(nameof(Strings.RegistryPushFailed), putResponse.StatusCode), putResponse.RequestMessage?.RequestUri?.ToString(), putResponse.StatusCode);
Registry\Registry.cs (1)
217var unknownMediaType => throw new NotImplementedException(Resource.FormatString(