Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 2.48 KB

File metadata and controls

69 lines (42 loc) · 2.48 KB

public providers

OCIDescriptor

OCIDescriptor(file, descriptor_file, media_type, size, urls, digest, annotations)

FIELDS

Name Description
file A file object of the content this descriptor describes
descriptor_file A file object with the information in this provider
media_type The MIME media type of the file
size The size in bytes of the file
urls Additional URLs where you can find the content of file
digest A digest, including the algorithm, of the file
annotations String map of aribtrary metadata

OCILayout

OCILayout(blob_index, files)

OCI Layout

FIELDS

Name Description
blob_index -
files -

OCIReferenceInfo

OCIReferenceInfo(registry, repository, tag, tag_file, digest)

Refers to any artifact represented by an OCI-like reference URI

FIELDS

Name Description
registry the URI where the artifact is stored
repository a namespace for an artifact
tag a organizational reference within a repository
tag_file a file containing the organizational reference within a repository
digest a file containing the digest of the artifact