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.