Uses of Class
land.oras.Layer
Packages that use Layer
-
Uses of Layer in land.oras
Modifier and TypeMethodDescriptionstatic Layer
Layer.empty()
An empty configstatic Layer
Layer.fromData
(ContainerRef containerRef, byte[] data) Create a layer from datastatic Layer
Layer.fromDigest
(String digest, long size) Create a layer from a digeststatic Layer
Create a layer from a file using default digeststatic Layer
Layer.fromFile
(Path file, SupportedAlgorithm algorithm) Create a layer from a file using a specific algorithmstatic Layer
Create a layer from a JSON stringabstract Layer
Push the blob for the given layerOCI.pushBlob
(T ref, InputStream input) Push a blob from filePush a blob from fileabstract Layer
Push 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 TypeMethodDescriptionManifest.getLayers()
Get the layersOCI.pushLayers
(T ref, boolean withDigest, LocalPath... paths) Modifier and TypeMethodDescriptionstatic Config
A 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