def _put_manifest(self, image):
"""Upload the manifest for this image."""
self._transport.Request(
'{base_url}/manifests/{tag_or_digest}'.format(
base_url=self._base_url(),
tag_or_digest=_tag_or_digest(self._name)),
method='PUT', body=image.manifest(),
accepted_codes=[httplib.OK, httplib.CREATED, httplib.ACCEPTED])
评论列表
文章目录