(self, tmp_imagedir, imagerepo=None)
return self._load_repositories(structure)
Load an OCI image file The file is a tarball containing several
        layers, each layer has metadata and data content (directory tree)
        stored as a tar file.
Load an OCI image file The file is a tarball containing several
        layers, each layer has metadata and data content (directory tree)
        stored as a tar file.
Load an OCI image file The file is a tarball containing several layers each layer has metadata and data content ( directory tree ) stored as a tar file .
def load(self, tmp_imagedir, imagerepo=None):
        """Load an OCI image file The file is a tarball containing several
        layers, each layer has metadata and data content (directory tree)
        stored as a tar file.
        """
        self._imagerepo = imagerepo
        structure = self._load_structure(tmp_imagedir)
        if not structure:
            Msg().err("Error: failed to load image structure")
            return []
        return self._load_repositories(structure)
def load ( self , tmp_imagedir , imagerepo = None ) : self . _imagerepo = imagerepo structure = self . _load_structure ( tmp_imagedir ) if not structure : Msg ( ) . err ( "Error: failed to load image structure" ) return [ ] return self . _load_repositories ( structure )