buildgrid.server.cleanup.janitor.index module
- class buildgrid.server.cleanup.janitor.index.IndexLookup
Bases:
ABC
- abstract get_missing_digests(digests: Set[str]) Set[str]
Return the subset of
digests
which is not in the index.
- class buildgrid.server.cleanup.janitor.index.RedisIndexLookup(config: RedisConfig)
Bases:
IndexLookup
- get_missing_digests(digests: Set[str]) Set[str]
Return the subset of
digests
which is not in the index.
- class buildgrid.server.cleanup.janitor.index.SqlIndexLookup(connection_string: str)
Bases:
IndexLookup
- get_missing_digests(digests: Set[str]) Set[str]
Return the subset of
digests
which is not in the index.