Add ability to commit blob uploads into blobs
This commit is contained in:
parent
f68fbb8028
commit
5d2fe535b4
3 changed files with 46 additions and 1 deletions
|
@ -225,3 +225,8 @@ class RegistryDataInterface(object):
|
|||
@abstractmethod
|
||||
def delete_blob_upload(self, blob_upload):
|
||||
""" Deletes a blob upload record. """
|
||||
|
||||
@abstractmethod
|
||||
def commit_blob_upload(self, blob_upload, blob_digest_str, blob_expiration_seconds):
|
||||
""" Commits the blob upload into a blob and sets an expiration before that blob will be GCed.
|
||||
"""
|
||||
|
|
Reference in a new issue