Uses of Record Class
land.oras.Annotations
Packages that use Annotations
-
Uses of Annotations in land.oras
Methods in land.oras that return AnnotationsModifier and TypeMethodDescriptionstatic Annotations
Annotations.empty()
Empty annotationsstatic Annotations
Convert the annotations from a JSON stringstatic Annotations
Create a new annotations record with only config annotationsstatic Annotations
Annotations.ofManifest
(@Nullable Map<String, String> manifestAnnotations) Create a new annotations record with only manifest annotationsMethods in land.oras with parameters of type AnnotationsModifier and TypeMethodDescriptionOCI.attachArtifact
(T ref, ArtifactType artifactType, Annotations annotations, LocalPath... paths) Attach file to an existing manifestabstract Manifest
OCI.pushArtifact
(T ref, ArtifactType artifactType, Annotations annotations, @Nullable Config config, LocalPath... paths) Push an artifactOCI.pushArtifact
(T ref, ArtifactType artifactType, Annotations annotations, LocalPath... paths) Upload an ORAS artifactOCILayout.pushArtifact
(LayoutRef ref, ArtifactType artifactType, Annotations annotations, @Nullable Config config, LocalPath... paths) Registry.pushArtifact
(ContainerRef containerRef, ArtifactType artifactType, Annotations annotations, @Nullable Config config, LocalPath... paths) Config.withAnnotations
(Annotations annotations) Create a new config with annotations