v1: refactor index

This commit is contained in:
Jimmy Zelinskie 2016-08-19 14:00:21 -04:00
parent 419779b9c5
commit d67991987b
3 changed files with 93 additions and 51 deletions

View file

@ -11,7 +11,8 @@ class ManifestJSON(namedtuple('ManifestJSON', ['digest', 'json', 'media_type']))
"""
class Repository(namedtuple('Repository', ['id', 'name', 'namespace_name'])):
class Repository(namedtuple('Repository', ['id', 'name', 'namespace_name', 'description',
'is_public'])):
"""
Repository represents a collection of tags.
"""