buildgrid.server.cleanup.janitor.index module
- class buildgrid.server.cleanup.janitor.index.IndexLookup
Bases:
ABC- abstractmethod get_missing_digests(digests: set[str]) set[str]
Return the subset of
digestswhich 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
digestswhich 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
digestswhich is not in the index.