Uses of Class
land.oras.Layer
Packages that use Layer
-
Uses of Layer in land.oras
Modifier and TypeMethodDescriptionstatic LayerLayer.empty()An empty configstatic LayerLayer.fromData(ContainerRef containerRef, byte[] data) Create a layer from datastatic LayerLayer.fromDigest(String digest, long size) Create a layer from a digeststatic LayerCreate a layer from a file using default digeststatic LayerLayer.fromFile(Path file, SupportedAlgorithm algorithm) Create a layer from a file using a specific algorithmstatic LayerCreate a layer from a JSON stringabstract LayerPush the blob for the given layerOCI.pushBlob(T ref, InputStream input) Push a blob from filePush a blob from fileabstract LayerPush a blob from fileRegistry.pushBlob(ContainerRef containerRef, byte[] data) Layer.withAnnotations(Map<String, String> annotations) Create a new layer with annotationsLayer.withMediaType(String mediaType) Create a new layer with media typeModifier and TypeMethodDescriptionOCI.collectLayers(T ref, String contentType, boolean includeAll) Collect layers from the refManifest.getLayers()Get the layersOCI.pushLayers(T ref, boolean withDigest, LocalPath... paths) Push layers to the targetModifier and TypeMethodDescriptionstatic ConfigA config with referrence on a blob (too large for data)Modifier and TypeMethodDescriptionManifest.withLayers(List<Layer> layers) Return a new manifest with the given layers