v2: add pagination decorator

This commit is contained in:
Jimmy Zelinskie 2016-07-26 18:41:51 -04:00
parent 5b630ebdb0
commit 3f722f880e
6 changed files with 77 additions and 79 deletions

View file

@ -100,3 +100,11 @@ def synthesize_v1_image(repo, storage, image_id, created, comment, command, comp
def save_manifest(namespace_name, repo_name, tag_name, leaf_layer_id, manifest_digest, manifest_bytes):
model.tag.store_tag_manifest(namespace_name, repo_name, tag_name, leaf_layer_id, manifest_digest,
manifest_bytes)
def repository_tags(namespace_name, repo_name, limit, offset):
return [Tag()]
def get_visible_repositories(username, limit, offset):
return [Repository()]