Package land.oras.utils
Class Const
java.lang.Object
land.oras.utils.Const
Constants used in the SDK.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Accept headerstatic final String
Annotation for the crated datestatic final String
Annotation of the uncompressed dir contentstatic final String
Annotation to unpack the contentstatic final String
Annotation for the ref namestatic final String
Annotation for the titlestatic final String
Application octet stream header valuestatic final String
The artifact manifest media typestatic final String
Authorization headerstatic final String
The blob directory media type for zstd compressionstatic final String
Content length headerstatic final String
Content Range headerstatic final String
Content type headerstatic final String
The default artifact media type if not specifiedstatic final String
The default blob directory media typestatic final String
The default blob media type if file type cannot be determinedstatic final String
The default descriptor media typestatic final String
The default empty media typestatic final String
Default index media typestatic final String
The default JSON media typestatic final String
The default manifest media typestatic final String
Default registrystatic final String
Default tagstatic final String
The Docker content digest headerstatic final String
Docker index media type (manifest list or fat manifest)static final String
Docker distribution manifest typestatic final String
Location headerstatic final String
The default accept type for the manifeststatic final String
OCI Chunk Minimum Length headerstatic final String
Blobs folder in OCI layoutstatic final String
Layout folder in OCI layoutstatic final String
Index file in OCI layoutstatic final String
OCI subject headerstatic final String
Range headerstatic final String
User agent headerstatic final String
User agent valuestatic final String
WWW-Authenticate header -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the current timestamp for the created annotation
-
Field Details
-
DEFAULT_REGISTRY
Default registry- See Also:
-
DEFAULT_TAG
Default tag- See Also:
-
OCI_LAYOUT_INDEX
Index file in OCI layout- See Also:
-
OCI_LAYOUT_FILE
Layout folder in OCI layout- See Also:
-
OCI_LAYOUT_BLOBS
Blobs folder in OCI layout- See Also:
-
DEFAULT_BLOB_DIR_MEDIA_TYPE
The default blob directory media type- See Also:
-
BLOB_DIR_ZSTD_MEDIA_TYPE
The blob directory media type for zstd compression- See Also:
-
DEFAULT_ARTIFACT_MEDIA_TYPE
The default artifact media type if not specified- See Also:
-
DEFAULT_BLOB_MEDIA_TYPE
The default blob media type if file type cannot be determined- See Also:
-
DEFAULT_DESCRIPTOR_MEDIA_TYPE
The default descriptor media type- See Also:
-
DEFAULT_JSON_MEDIA_TYPE
The default JSON media type- See Also:
-
DEFAULT_EMPTY_MEDIA_TYPE
The default empty media type- See Also:
-
DEFAULT_INDEX_MEDIA_TYPE
Default index media type- See Also:
-
ARTIFACT_MANIFEST_MEDIA_TYPE
The artifact manifest media type- See Also:
-
DOCKER_MANIFEST_MEDIA_TYPE
Docker distribution manifest type- See Also:
-
DOCKER_INDEX_MEDIA_TYPE
Docker index media type (manifest list or fat manifest)- See Also:
-
DEFAULT_MANIFEST_MEDIA_TYPE
The default manifest media type- See Also:
-
MANIFEST_ACCEPT_TYPE
The default accept type for the manifest -
ANNOTATION_TITLE
Annotation for the title- See Also:
-
ANNOTATION_CREATED
Annotation for the crated date- See Also:
-
ANNOTATION_REF
Annotation for the ref name- See Also:
-
ANNOTATION_ORAS_CONTENT_DIGEST
Annotation of the uncompressed dir content- See Also:
-
ANNOTATION_ORAS_UNPACK
Annotation to unpack the content- See Also:
-
AUTHORIZATION_HEADER
Authorization header- See Also:
-
USER_AGENT_HEADER
User agent header- See Also:
-
USER_AGENT_VALUE
User agent value -
CONTENT_TYPE_HEADER
Content type header- See Also:
-
CONTENT_LENGTH_HEADER
Content length header- See Also:
-
DOCKER_CONTENT_DIGEST_HEADER
The Docker content digest header- See Also:
-
OCI_SUBJECT_HEADER
OCI subject header- See Also:
-
ACCEPT_HEADER
Accept header- See Also:
-
LOCATION_HEADER
Location header- See Also:
-
WWW_AUTHENTICATE_HEADER
WWW-Authenticate header- See Also:
-
APPLICATION_OCTET_STREAM_HEADER_VALUE
Application octet stream header value- See Also:
-
CONTENT_RANGE_HEADER
Content Range header- See Also:
-
RANGE_HEADER
Range header- See Also:
-
OCI_CHUNK_MIN_LENGTH_HEADER
OCI Chunk Minimum Length header- See Also:
-
-
Method Details
-
currentTimestamp
Get the current timestamp for the created annotation- Returns:
- The current timestamp
-