Implement support for schema 2 manifests
This commit is contained in:
parent
1b3daac3c3
commit
849e613386
6 changed files with 97 additions and 39 deletions
|
@ -27,6 +27,10 @@ class PreOCIModel(SharedModel, RegistryDataInterface):
|
|||
PreOCIModel implements the data model for the registry API using a database schema
|
||||
before it was changed to support the OCI specification.
|
||||
"""
|
||||
def supports_schema2(self, namespace_name):
|
||||
""" Returns whether the implementation of the data interface supports schema 2 format
|
||||
manifests. """
|
||||
return False
|
||||
|
||||
def find_matching_tag(self, repository_ref, tag_names):
|
||||
""" Finds an alive tag in the repository matching one of the given tag names and returns it
|
||||
|
|
Reference in a new issue