(self, structure)
return loaded_repositories
Load other image repositories into this local repo
Load other image repositories into this local repo
Load other image repositories into this local repo
def _load_repositories(self, structure):
        """Load other image repositories into this local repo"""
        if "repositories" not in structure:
            return False
        loaded_repositories = []
        for imagerepo in structure["repositories"]:
            for tag in structure["repositories"][imagerepo]:
                if imagerepo and tag:
                    loaded_repo = self._load_image(structure, imagerepo, tag)
                    if loaded_repo:
                        loaded_repositories.extend(loaded_repo)
        return loaded_repositories
def _load_repositories ( self , structure ) : if "repositories" not in structure : return False loaded_repositories = [ ] for imagerepo in structure [ "repositories" ] : for tag in structure [ "repositories" ] [ imagerepo ] : if imagerepo and tag : loaded_repo = self . _load_image ( structure , imagerepo , tag ) if loaded_repo : loaded_repositories . extend ( loaded_repo ) return loaded_repositories