borgcube package¶
borgcube.keymgt module¶
-
class
borgcube.keymgt.SyntheticRepoKey(repository)[source]¶ Bases:
borgcube.keymgt.SyntheticRepoKeyMixin,borg.key.RepoKey-
synthetic_type= 'synthetic-repokey'¶
-
-
class
borgcube.keymgt.SyntheticBlake2RepoKey(repository)[source]¶ Bases:
borgcube.keymgt.SyntheticRepoKeyMixin,borg.key.AuthenticatedKey-
synthetic_type= 'synthetic-authenticated-blake2'¶
-
borgcube.utils module¶
-
class
borgcube.utils.IteratorPaginator(iterable, per_page, orphans=0, allow_empty_first_page=True, length=None)[source]¶ Bases:
django.core.paginator.PaginatorModified Django
Paginatorthat works with iterables of known lengths, instead of requiring a len()-able, slice-able iterable.If length is left unspecified it behaves exactly like the standard Paginator.
-
class
borgcube.utils.DaemonLogHandler(addr_or_socket, level=0, context=None)[source]¶ Bases:
logging.Handler-
socket= None¶
-