def list_repos(self, batch_size=None, iterate=False):
it = PaginatingResponse(self, '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>params={'<STR_LIT:n>': batch_size})<EOL>return it if iterate else list(it)<EOL>
List all repositories in the registry.

:param batch_size: Number of repository names to ask the server for at a time.
:type batch_size: int

:param iterate: Whether to return iterator over the names or a list of all the names.
:type iterate: bool

:rtype: list or iterator of strings
:returns: Repository names.