Convert V2's manifest endpoints to use the new data model interface
This commit is contained in:
parent
a172de4fdc
commit
6b5064aba4
10 changed files with 197 additions and 200 deletions
|
@ -117,6 +117,12 @@ class RegistryDataInterface(object):
|
|||
or None if none.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def has_expired_tag(self, repository_ref, tag_name):
|
||||
"""
|
||||
Returns true if and only if the repository contains a tag with the given name that is expired.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def retarget_tag(self, repository_ref, tag_name, manifest_or_legacy_image,
|
||||
is_reversion=False):
|
||||
|
|
Reference in a new issue