Fix manifest UI page to properly show the layers of manifests and show manifest lists
This commit is contained in:
parent
8cd3740c69
commit
4106f5ce51
13 changed files with 162 additions and 89 deletions
|
@ -194,6 +194,14 @@ class RegistryDataInterface(object):
|
|||
def get_manifest_local_blobs(self, manifest, include_placements=False):
|
||||
""" Returns the set of local blobs for the given manifest or None if none. """
|
||||
|
||||
@abstractmethod
|
||||
def list_manifest_layers(self, manifest, storage, include_placements=False):
|
||||
""" Returns an *ordered list* of the layers found in the manifest, starting at the base
|
||||
and working towards the leaf, including the associated Blob and its placements
|
||||
(if specified). The layer information in `layer_info` will be of type
|
||||
`image.docker.types.ManifestImageLayer`.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def list_parsed_manifest_layers(self, repository_ref, parsed_manifest, storage,
|
||||
include_placements=False):
|
||||
|
|
Reference in a new issue