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 AnnotationsAnnotations.empty()Empty annotationsstatic AnnotationsConvert the annotations from a JSON stringstatic AnnotationsCreate a new annotations record with only config annotationsstatic AnnotationsAnnotations.ofManifest(@Nullable Map<String, String> manifestAnnotations) Create a new annotations record with only manifest annotationsAnnotations.withFileAnnotations(String key, Map<String, String> annotations) Create a new annotations record with the given file 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 manifeststatic ManifestDescriptorManifestDescriptor.of(Manifest manifest, Platform platform, Annotations annotations, SupportedAlgorithm supportedAlgorithm) Utility method.OCI.pushArtifact(T ref, ArtifactType artifactType, Annotations annotations, @Nullable Config config, LocalPath... paths) Push an artifact using default push optionsabstract ManifestOCI.pushArtifact(T ref, ArtifactType artifactType, Annotations annotations, @Nullable Config config, OCI.PushOptions options, LocalPath... paths) Push an artifactOCI.pushArtifact(T ref, ArtifactType artifactType, Annotations annotations, LocalPath... paths) Upload an ORAS artifactOCI.pushArtifact(T ref, ArtifactType artifactType, Annotations annotations, OCI.PushOptions options, LocalPath... paths) Push an artifact with explicit push optionsOCILayout.pushArtifact(LayoutRef ref, ArtifactType artifactType, Annotations annotations, @Nullable Config config, OCI.PushOptions options, LocalPath... paths) Registry.pushArtifact(ContainerRef containerRef, ArtifactType artifactType, Annotations annotations, @Nullable Config config, OCI.PushOptions options, LocalPath... paths) protected LayerOCI.pushLayer(T ref, Annotations annotations, boolean withDigest, LocalPath path) protected LayerOCI.pushLayer(T ref, Annotations annotations, boolean withDigest, LocalPath path, OCI.PushOptions options) OCI.pushLayers(T ref, Annotations annotations, boolean withDigest, LocalPath... paths) Push layers to the target using default push optionsOCI.pushLayers(T ref, Annotations annotations, boolean withDigest, OCI.PushOptions options, LocalPath... paths) Push layers to the targetConfig.withAnnotations(Annotations annotations) Create a new config with annotations