Convert V2's tag endpoints to use the new data model interface

This commit is contained in:
Joseph Schorr 2018-10-08 13:13:31 +01:00
parent 6b5064aba4
commit e91ba98e1b
5 changed files with 31 additions and 7 deletions

View file

@ -95,7 +95,9 @@ class RegistryDataInterface(object):
"""
@abstractmethod
def list_repository_tags(self, repository_ref, include_legacy_images=False):
def list_repository_tags(self, repository_ref, include_legacy_images=False,
start_pagination_id=None,
limit=None):
"""
Returns a list of all the active tags in the repository. Note that this can be a *heavy*
operation on repositories with a lot of tags, and should be avoided for more targetted