2 instantiations of Layer
Microsoft.NET.Build.Containers (2)
Layer.cs (2)
52
return
new
(ContentStore.PathForDescriptor(descriptor), descriptor);
224
return
new
(storedContent, descriptor);
11 references to Layer
Microsoft.NET.Build.Containers (11)
ContainerBuilder.cs (2)
118
Layer
newLayer =
Layer
.FromDirectory(publishDirectory.FullName, workingDir, imageBuilder.IsWindows, imageBuilder.ManifestMediaType, userId);
ImageBuilder.cs (2)
102
/// Adds a <see cref="
Layer
"/> to a base image.
104
internal void AddLayer(
Layer
l)
ImageConfig.cs (1)
215
internal void AddLayer(
Layer
l)
Layer.cs (2)
50
public static
Layer
FromDescriptor(Descriptor descriptor)
55
public static
Layer
FromDirectory(string directory, string containerPath, bool isWindowsLayer, string manifestMediaType, int? userId = null)
Registry\Registry.cs (2)
458
internal async Task PushLayerAsync(
Layer
layer, string repository, CancellationToken cancellationToken)
604
await destinationRegistry.PushLayerAsync(
Layer
.FromDescriptor(descriptor), destination.Repository, cancellationToken).ConfigureAwait(false);
Tasks\CreateNewImage.cs (2)
186
Layer
newLayer =
Layer
.FromDirectory(PublishDirectory, WorkingDirectory, imageBuilder.IsWindows, imageBuilder.ManifestMediaType, userId);