Unify the get_layers calls across all implements of manifest schemas to ensure we have a common type returned
Also renames some methods to make it more clear what kind of information they return
This commit is contained in:
parent
180d8847db
commit
4e1ff90cb2
17 changed files with 210 additions and 124 deletions
6
image/docker/types.py
Normal file
6
image/docker/types.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from collections import namedtuple
|
||||
|
||||
ManifestImageLayer = namedtuple('ManifestImageLayer', ['layer_id', 'compressed_size',
|
||||
'is_remote', 'urls', 'command',
|
||||
'blob_digest', 'created_datetime',
|
||||
'internal_layer'])
|
Reference in a new issue