code: def list_images(self, repository_name, registry_id=None):
          
          repository = None
          found = False
          if repository_name in self.repositories:
              repository = self.repositories[repository_name]
              if registry_id:
                  if repository.registry_id == registry_id:
                      found = True
              else:
                  found = True
  
          if not found:
              raise RepositoryNotFoundException(repository_name, registry_id or DEFAULT_REGISTRY_ID)
  
          images = []
          for image in repository.images:
              images.append(image)
          return images
docs: maxResults and filtering not implemented